cCoder.Data 2026.11.23.1635

dotnet add package cCoder.Data --version 2026.11.23.1635
                    
NuGet\Install-Package cCoder.Data -Version 2026.11.23.1635
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="cCoder.Data" Version="2026.11.23.1635" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="cCoder.Data" Version="2026.11.23.1635" />
                    
Directory.Packages.props
<PackageReference Include="cCoder.Data" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add cCoder.Data --version 2026.11.23.1635
                    
#r "nuget: cCoder.Data, 2026.11.23.1635"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package cCoder.Data@2026.11.23.1635
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=cCoder.Data&version=2026.11.23.1635
                    
Install as a Cake Addin
#tool nuget:?package=cCoder.Data&version=2026.11.23.1635
                    
Install as a Cake Tool

cCoder.Data

Local configuration

cCoder.Data owns Core persistence. Bind CoreDataConfiguration from the CoreData section at the application's composition root. Business domains do not register this dependency or carry their own connection strings.

Register the supporting data services with either the bound configuration or a configuration callback:

services.AddData(configuration.CoreData);

cCoder.Data contains the shared data access layer for the cCoder platform.

View the latest code coverage report

Contents

  • src/cCoder.Data The main library package published to NuGet.
  • src/cCoder.Data.Tests Unit tests for the data layer.
  • src/Apps/Data.Web A local tooling app that demonstrates the package by exposing authenticated CRUD over the CoreDataContext.
  • src/Apps/Data.Web.AcceptanceTests Acceptance tests for the Data tooling app.

Data Tooling App

Data.Web is a local support tool, not a published production app. It provides a tabbed CRUD view over every entity set exposed by CoreDataContext.

The app uses the standard cCoder security login flow because the shared data context applies user-aware query filters. Its root AppConfiguration contains CoreData, SecurityData, and Security; the complete IConfiguration root is bound once and those domains are registered side by side.

Required configuration:

  • CoreData__ConnectionString
  • SecurityData__ConnectionString
  • Security__DecryptionKey

Optional migration-only overrides:

  • CoreData__AdminConnectionString
  • SecurityData__AdminConnectionString

Applications that consume cCoder.Core should use Core's composite API rather than registering these domains directly. Core remains the deliberate aggregate composition root for its configured domain graph.

Run locally:

dotnet run --project src/Apps/Data.Web/Data.Web.csproj

Build

dotnet build src/cCoder.Data.slnx -v minimal

Test

dotnet test src/cCoder.Data.slnx -v minimal --no-build

Package

The NuGet package produced by this repository is:

  • cCoder.Data

Publishing

GitHub Actions is configured to publish the main package using NuGet trusted publishing.

Before the first publish, configure a trusted publishing policy on nuget.org for:

  • Repository owner: ccoder-co-uk
  • Repository: cCoder.Data
  • Workflow file: publish.yml

The workflow also expects a NUGET_USER repository secret containing the nuget.org profile name used during trusted publishing login.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (13)

Showing the top 5 NuGet packages that depend on cCoder.Data:

Package Downloads
cCoder.Core

cCoder.Core

cCoder.ContentManagement

cCoder.ContentManagement

cCoder.Workflow.Activities

cCoder.Workflow.Activities

cCoder.AppSecurity

cCoder.AppSecurity

cCoder.Workflow

cCoder.Workflow

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.11.23.1635 263 2026/11/23
2026.11.20.1700 430 2026/11/20
2026.11.20.1551 98 2026/11/20
2026.11.16.1737 270 2026/11/16
2026.10.14.1440 615 2026/10/14
2026.10.10.241 262 2026/10/10
2026.10.10.41 120 2026/10/9
2026.10.9.2337 111 2026/10/9
2026.10.8.1248 759 2026/10/8
2026.9.30.1214 362 2026/9/30
2026.9.30.1134 159 2026/9/30
2026.9.30.925 257 2026/9/30
2026.9.29.1916 203 2026/9/29
2026.9.29.1100 138 2026/9/29
2026.9.27.1341 264 2026/9/27
2026.9.27.1304 110 2026/9/27
2026.9.23.2308 326 2026/9/23
2026.9.23.1706 220 2026/9/23
2026.9.22.2048 258 2026/9/22
2026.9.22.1438 192 2026/9/22
Loading failed