T91.Server.Domain 1.0.62

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

T91.Server.Domain

Core domain library for T91 .NET 10 microservices — base models, interfaces, exceptions, and helpers.

Full documentation: GitHub README

Installation

dotnet add package T91.Server.Domain

Base Models

Class ID type Soft delete
BaseModel int
BaseActiveModel int ✓ (Active)
LongBaseModel long
LongActiveBaseModel long
GuidBaseModel Guid
UlidBaseModel Ulid

All inherit MasterModel which carries TenantId, audit fields, and optimistic concurrency via RowDate.

Opt-in interfaces: IActiveBaseModel, IPersistentCode, IOrderData, IExtBaseModel, ICopyableBaseModel, ICanSystemData, IUsable

Scope Interfaces

  • ICurrentScope — read-only: TenantId, UserId, UserName, Token, Timezone. Inject into Logic classes and filters.
  • ISettableCurrentScope — extends ICurrentScope with SetX(...) mutators; used by message broker consumers to inject context from message headers.

Exceptions

Exception Default HTTP Notes
LogicException(msg, code?) 400 Business rule violations
NotFoundException(obj) / NotFoundException(Type) 404 Use new NotFoundException(typeof(MyEntity)) for a clean "MyEntity not found" message
InUseException(entity, msg?) 400 Cannot delete — record in use
DuplicateException(name, msg?) 400 Duplicate record

All caught automatically by ErrorHandlingMiddleware in T91.Server.API.

Notes

  • Parse.ParseRmQueueUrl / ParseRMQUrl throw InvalidOperationException on malformed URLs — fail fast at startup, not silently.
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.
  • net10.0

NuGet packages (3)

Showing the top 3 NuGet packages that depend on T91.Server.Domain:

Package Downloads
T91.Server.DB

Database library for T91

T91.Server.App

Server App library for T91

T91.Server.API

API library for T91

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.62 140 5/9/2026
1.0.58 119 5/3/2026
1.0.52 118 5/2/2026
1.0.51 112 5/1/2026
1.0.50 143 4/22/2026
1.0.9 310 10/19/2024
1.0.8 185 10/19/2024
1.0.7 199 10/18/2024
1.0.6 171 10/14/2024
1.0.5 147 10/14/2024
1.0.4 170 10/14/2024
1.0.3 221 10/11/2024
1.0.2 204 10/6/2024
1.0.1 201 10/5/2024
1.0.0 195 9/30/2024