Fudie.Domain 1.0.12

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

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.

Version Downloads Last Updated
1.0.12 259 3/8/2026
1.0.11 203 3/7/2026
1.0.10 220 3/5/2026
1.0.9 220 3/5/2026
1.0.8 216 3/5/2026
1.0.7 212 3/4/2026
1.0.6 211 3/4/2026
1.0.5 216 3/4/2026
1.0.4 226 3/3/2026
1.0.3 219 3/3/2026
1.0.2 206 3/3/2026
1.0.1 207 3/2/2026
1.0.0 225 3/2/2026