Csag.Blueprint.Domain 0.1.0

dotnet add package Csag.Blueprint.Domain --version 0.1.0
                    
NuGet\Install-Package Csag.Blueprint.Domain -Version 0.1.0
                    
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="Csag.Blueprint.Domain" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Csag.Blueprint.Domain" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Csag.Blueprint.Domain" />
                    
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 Csag.Blueprint.Domain --version 0.1.0
                    
#r "nuget: Csag.Blueprint.Domain, 0.1.0"
                    
#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 Csag.Blueprint.Domain@0.1.0
                    
#: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=Csag.Blueprint.Domain&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Csag.Blueprint.Domain&version=0.1.0
                    
Install as a Cake Tool

Csag.Blueprint.Domain

Overview

This package defines the shared domain model and contracts for CSAG Blueprint-based applications.

It does not contain only interfaces. It also contains the reusable blueprint-owned entity types and base identity/tenant types that the consuming application builds on.

What this package owns

Contracts

Type Purpose
IAuditable Marks an entity for automatic timestamp management (CreatedAt, UpdatedAt) by infrastructure interceptors.
IMustHaveTenant Marks an entity as tenant-scoped and requires a TenantId. Used by query filters and save interceptors.
IUserProfileClaimsSource Exposes user profile values that should become claims (such as display name, preferred language).

Base identity and tenant types

Type Purpose
BlueprintUser Shared base user type extending ASP.NET Core Identity user infrastructure.
BlueprintRole Shared base role type extending ASP.NET Core Identity role infrastructure.
BlueprintTenant Shared base tenant type for multi-tenant applications.

Shared blueprint-owned entities

Type Purpose
BlueprintActiveSession Tracks active authenticated sessions.
BlueprintAuditLog Persists audit events written by Audit.NET integration.
BlueprintResourceAccess Shared authorization/resource-access persistence model.
BlueprintServiceAccount Represents machine/service credentials for JWT-based authentication.
BlueprintTranslation Stores database-backed localization entries.
BlueprintTableViewPreference<TUser> Persists per-user table view preferences.
BlueprintTenantMembership<TUser, TTenant> Join entity linking users to tenants.

Architectural Role

Csag.Blueprint.Domain is the stable contract layer for the reusable blueprint model:

  • Csag.Blueprint.Application builds abstractions on top of these types
  • Csag.Blueprint.Infrastructure maps and enforces them
  • the consuming application derives concrete app types such as ApplicationUser, ApplicationRole, and ApplicationTenant

This package should stay free of application-specific policy and host-specific infrastructure concerns.

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 (2)

Showing the top 2 NuGet packages that depend on Csag.Blueprint.Domain:

Package Downloads
Csag.Blueprint.Application

Application-layer abstractions, claim types, tenant context, and table view system for CSAG Blueprint applications.

Csag.Blueprint.Infrastructure

Database, session, tenancy, localization, and authorization infrastructure for CSAG Blueprint applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 42 7/3/2026