Fudie.Domain
1.0.12
dotnet add package Fudie.Domain --version 1.0.12
NuGet\Install-Package Fudie.Domain -Version 1.0.12
<PackageReference Include="Fudie.Domain" Version="1.0.12" />
<PackageVersion Include="Fudie.Domain" Version="1.0.12" />
<PackageReference Include="Fudie.Domain" />
paket add Fudie.Domain --version 1.0.12
#r "nuget: Fudie.Domain, 1.0.12"
#:package Fudie.Domain@1.0.12
#addin nuget:?package=Fudie.Domain&version=1.0.12
#tool nuget:?package=Fudie.Domain&version=1.0.12
Fudie.Domain
Core domain-driven design building blocks for entity modeling, domain events, result patterns, and base command types.
Public Types
Entities
| Type | Description |
|---|---|
Entity<TId> |
Base entity with identity-based equality |
AggregateRoot<TId> |
Aggregate root with domain event collection |
IDomainEvent |
Marker interface for domain events |
IHasDomainEvents |
Interface exposing domain events and clear mechanism |
Result Pattern
| Type | Description |
|---|---|
Result |
Success/failure result without value |
Result<T> |
Success/failure result with value |
ValidationError |
Validation error with field name and message |
Commands
| Type | Description |
|---|---|
AbstractCreateCommand<TCommand, TEntity> |
Base for entity creation commands |
AbstractModifyCommand<TEntity> |
Base for entity modification commands |
AbstractModifyCommand<TCommand, TEntity> |
Base for entity modification with command input |
AbstractTransformCommand<TCommand, TValueObject> |
Base for value object transformation commands |
AbstractTransformCommand<TValueObject> |
Base for parameterless value object transformations |
Exceptions
| Type | HTTP Status |
|---|---|
ConflictException |
409 Conflict |
UnauthorizedException |
401 Unauthorized |
Both exceptions support an optional ErrorCode property for traceability:
throw new ConflictException("Slug already taken", "Customer.Slug.AlreadyExists");
throw new UnauthorizedException("Not the owner", "Order.Owner.NotOwner");
// Legacy usage (without error code) still works
throw new ConflictException("Slug already taken");
Dependencies
None. This is a pure domain library with zero external dependencies.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Fudie.Domain:
| Package | Downloads |
|---|---|
|
Fudie.Http
ASP.NET Core infrastructure: global exception handler, feature module discovery, and pipeline configuration. |
|
|
Fudie.Infrastructure
EF Core abstractions: repository interfaces, FudieDbContext, unit of work, and change tracking. |
|
|
Fudie.Validation
Guard patterns and result extensions for validation, conflict, not-found, and unauthorized scenarios. |
|
|
Fudie
Fudie framework — all packages in one reference. Install this to get the full framework. |
GitHub repositories
This package is not used by any popular GitHub repositories.