Boutquin.Domain
1.0.0
dotnet add package Boutquin.Domain --version 1.0.0
NuGet\Install-Package Boutquin.Domain -Version 1.0.0
<PackageReference Include="Boutquin.Domain" Version="1.0.0" />
<PackageVersion Include="Boutquin.Domain" Version="1.0.0" />
<PackageReference Include="Boutquin.Domain" />
paket add Boutquin.Domain --version 1.0.0
#r "nuget: Boutquin.Domain, 1.0.0"
#:package Boutquin.Domain@1.0.0
#addin nuget:?package=Boutquin.Domain&version=1.0.0
#tool nuget:?package=Boutquin.Domain&version=1.0.0
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.ResultandResult<TValue>represent expected failures without throwing. AnErrorcontainsCode,Description, andErrorType.Guardoffers both modernCallerArgumentExpressionoverloads and legacy expression-based overloads. UseGuard.Against(...).WithArgs(...)when an exception requires explicit constructor arguments.StronglyTypedId<T>gives identifier value objects invariant-culture string formatting.DateRange,Money, and ISO 4217Currencymodel 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 | 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
- 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 |