Boutquin.Domain 1.0.0

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

Boutquin.Domain

Domain-driven design building blocks for .NET 10: entities, results, guard clauses, strongly typed IDs, value objects, domain exceptions, JSON converters, and small utility extensions.

Install

dotnet add package Boutquin.Domain

Highlights

  • Entity<TEntityId> provides identity-based equality for entities.
  • Result and Result<TValue> represent expected failures without throwing. An Error contains Code, Description, and ErrorType.
  • Guard offers both modern CallerArgumentExpression overloads and legacy expression-based overloads. Use Guard.Against(...).WithArgs(...) when an exception requires explicit constructor arguments.
  • StronglyTypedId<T> gives identifier value objects invariant-culture string formatting.
  • DateRange, Money, and ISO 4217 Currency model common domain values.
using Boutquin.Domain.Abstractions;
using Boutquin.Domain.Enumerations;
using Boutquin.Domain.Extensions;

Result<string> result = "created";

var price = Currency.USD.Amount(19.99m);
var total = price + Currency.USD.Amount(5m);

Money equality is structural and never throws across currencies. Arithmetic and ordering require matching currencies and throw CurrencyMismatchException when currencies differ.

Documentation

Component guides and API examples are maintained in the repository documentation. See the repository README for the related ASP.NET Core and FluentValidation packages.

License

Apache-2.0. See the repository license.

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

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Boutquin.Domain:

Package Downloads
Boutquin.Trading.Domain

Common abstractions (entities, enums, exceptions, interfaces, types and logic) specific to a Trading Domain layer.

Boutquin.Storage.Domain

Domain abstractions for data-intensive storage engines — interfaces for key-value stores, storage indices, Bloom filters, serialization, and LSM-tree components.

Boutquin.Validation

FluentValidation integration for Boutquin.Domain — ValidationException with structured error details for RFC 7807 ProblemDetails responses.

Boutquin.AspNetCore

ASP.NET Core middleware and module registration — RFC 7807 exception handler, modular app startup with testable assembly discovery.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 59 9/18/2026
0.7.0 2,701 3/16/2026
0.6.0-beta.2 135 3/14/2026
0.5.3-beta5 348 8/11/2024
0.5.0.3-beta01 219 5/20/2024
0.5.0.2-beta01 181 5/20/2024
0.5.0.1-beta01 265 5/15/2024
0.4.0-beta01 285 4/20/2024
0.3.0-beta01 248 4/16/2024
0.2.1-beta09 268 4/5/2024
0.2.1-beta07 199 3/30/2024
0.2.1-beta05 282 3/16/2024
0.2.1-beta03 233 1/26/2024
0.2.1-beta02 285 1/5/2024
0.2.1-beta01 193 1/4/2024
0.2.0-beta01 205 1/4/2024
0.1.0-beta27 621 5/8/2023
0.1.0-beta26 269 5/8/2023
0.1.0-beta25 338 5/1/2023
0.1.0-beta24 290 5/1/2023
Loading failed