Csag.Blueprint.Infrastructure
0.1.0
dotnet add package Csag.Blueprint.Infrastructure --version 0.1.0
NuGet\Install-Package Csag.Blueprint.Infrastructure -Version 0.1.0
<PackageReference Include="Csag.Blueprint.Infrastructure" Version="0.1.0" />
<PackageVersion Include="Csag.Blueprint.Infrastructure" Version="0.1.0" />
<PackageReference Include="Csag.Blueprint.Infrastructure" />
paket add Csag.Blueprint.Infrastructure --version 0.1.0
#r "nuget: Csag.Blueprint.Infrastructure, 0.1.0"
#:package Csag.Blueprint.Infrastructure@0.1.0
#addin nuget:?package=Csag.Blueprint.Infrastructure&version=0.1.0
#tool nuget:?package=Csag.Blueprint.Infrastructure&version=0.1.0
Csag.Blueprint.Infrastructure
Overview
This package provides the shared infrastructure implementation layer for CSAG Blueprint-based applications.
It contains the reusable EF Core persistence backbone, session/auth infrastructure, localization infrastructure, tenancy helpers, authorization transformation, and table-view execution components that consuming applications compose into their own host.
What this package owns
Persistence backbone
| Component | Purpose |
|---|---|
BlueprintDbContext<TAppTenant, TAppUser, TAppRole> |
Shared EF Core base context that owns the blueprint persistence model. |
Blueprint*Configuration classes |
EF Core mappings for blueprint-owned entities and inheritance roots. |
MultiTenancyModelBuilderExtensions |
Applies tenant filters/indexing/model conventions for tenant-scoped entities. |
Interceptors
| Interceptor | Purpose |
|---|---|
AuditableTimestampInterceptor |
Sets CreatedAt/UpdatedAt automatically for IAuditable entities. |
TenantSaveInterceptor |
Assigns and protects TenantId for IMustHaveTenant entities. |
Session and authorization infrastructure
| Component | Purpose |
|---|---|
DistributedCacheTicketStore |
ASP.NET Core ITicketStore implementation for server-side session storage. |
TicketCacheService |
Serialization/cache wrapper for authentication tickets. |
PostConfigureCookieAuthenticationOptions |
Injects the ticket store into cookie authentication options. |
SessionManager |
Shared session revocation/refresh management. |
PermissionClaimsTransformation |
Expands role claims into permission claims after authentication. |
UserManagerAuthorizationExtensions |
Loads roles and permissions for users. |
Tenancy and localization infrastructure
| Component | Purpose |
|---|---|
TenantService / TenantManager |
Reusable tenant access and membership logic. |
BlueprintDbStringLocalizer / BlueprintDbStringLocalizerFactory |
Database-backed localization infrastructure. |
PassThroughStringLocalizer |
Generation-mode localizer that returns keys as-is. |
TranslationCacheKeys |
Cache key helpers for localization caching. |
MigrationBuilderExtensions |
Translation seeding helpers for migrations. |
Table view infrastructure
| Component | Purpose |
|---|---|
TableViewExecutor |
Executes filtering, sorting, counting, pagination, and projection for table-view queries. |
TableViewCatalogService |
Discovers and filters registered table views by permission. |
BlueprintTableViewPreferencesService |
Persists per-user table view preferences. |
Ownership Boundary
This package owns reusable infrastructure, not application composition.
The consuming application still owns:
- the concrete
ApplicationDbContext - DI composition and host setup
- app-specific options and policies
- app-specific entities and migrations
For the persistence ownership model, see docs/architecture/DATABASE.md. For package-boundary rules, see docs/architecture/PACKAGES.md.
| 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
- Csag.Blueprint.Application (>= 0.1.0)
- Csag.Blueprint.Domain (>= 0.1.0)
- Microsoft.AspNetCore.DataProtection.EntityFrameworkCore (>= 10.0.9)
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (>= 10.0.9)
- Microsoft.Data.SqlClient (>= 7.0.1)
- Microsoft.EntityFrameworkCore (>= 10.0.9)
- Microsoft.EntityFrameworkCore.SqlServer (>= 10.0.9)
- Neolution.Extensions.Caching.Distributed (>= 3.0.0-vnext0017)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Csag.Blueprint.Infrastructure:
| Package | Downloads |
|---|---|
|
Csag.Blueprint.Web
ASP.NET Core middleware, validated options, security configuration, and FastEndpoints extensions for CSAG Blueprint applications. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 41 | 7/3/2026 |