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
<PackageReference Include="T91.Server.Domain" Version="1.0.62" />
<PackageVersion Include="T91.Server.Domain" Version="1.0.62" />
<PackageReference Include="T91.Server.Domain" />
paket add T91.Server.Domain --version 1.0.62
#r "nuget: T91.Server.Domain, 1.0.62"
#:package T91.Server.Domain@1.0.62
#addin nuget:?package=T91.Server.Domain&version=1.0.62
#tool nuget:?package=T91.Server.Domain&version=1.0.62
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— extendsICurrentScopewithSetX(...)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/ParseRMQUrlthrowInvalidOperationExceptionon malformed URLs — fail fast at startup, not silently.
| 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
- Ulid (>= 1.3.4)
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 |