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
<PackageReference Include="cCoder.Data" Version="2026.11.23.1635" />
<PackageVersion Include="cCoder.Data" Version="2026.11.23.1635" />
<PackageReference Include="cCoder.Data" />
paket add cCoder.Data --version 2026.11.23.1635
#r "nuget: cCoder.Data, 2026.11.23.1635"
#:package cCoder.Data@2026.11.23.1635
#addin nuget:?package=cCoder.Data&version=2026.11.23.1635
#tool nuget:?package=cCoder.Data&version=2026.11.23.1635
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.DataThe main library package published to NuGet.src/cCoder.Data.TestsUnit tests for the data layer.src/Apps/Data.WebA local tooling app that demonstrates the package by exposing authenticated CRUD over theCoreDataContext.src/Apps/Data.Web.AcceptanceTestsAcceptance 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__ConnectionStringSecurityData__ConnectionStringSecurity__DecryptionKey
Optional migration-only overrides:
CoreData__AdminConnectionStringSecurityData__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 | Versions 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. |
-
net10.0
- cCoder.Eventing (>= 2026.11.20.1627)
- cCoder.Security.Data (>= 2026.11.20.1640)
- Microsoft.EntityFrameworkCore (>= 10.0.11)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.11)
- Microsoft.EntityFrameworkCore.SqlServer (>= 10.0.11)
- Newtonsoft.Json (>= 13.0.4)
- System.Linq.Dynamic.Core (>= 1.7.3)
- System.Security.Cryptography.Pkcs (>= 10.0.13)
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 |