YuckQi.Domain.Validation
8.5.1
dotnet add package YuckQi.Domain.Validation --version 8.5.1
NuGet\Install-Package YuckQi.Domain.Validation -Version 8.5.1
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="YuckQi.Domain.Validation" Version="8.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="YuckQi.Domain.Validation" Version="8.5.1" />
<PackageReference Include="YuckQi.Domain.Validation" />
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 YuckQi.Domain.Validation --version 8.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: YuckQi.Domain.Validation, 8.5.1"
#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 YuckQi.Domain.Validation@8.5.1
#: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=YuckQi.Domain.Validation&version=8.5.1
#tool nuget:?package=YuckQi.Domain.Validation&version=8.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
YuckQi.Domain.Validation
A .NET library providing domain validation fundamentals built around a Result pattern with FluentValidation integration.
Key Types
Result Pattern
Result/Result<T>– validation outcome withDetailcollection andIsValidflag; the generic variant carries optionalContentIResult/IResult<T>– interfaces for the result typesResultDetail– a single validation issue with message, code, property name, and typeResultMessage– strongly typed validation message with implicitStringconversion; includesNotFoundfactoryResultCode– strongly typed validation code with predefined values (InvalidRequestDetail,NotFound)ResultType– enum (Unknown,Warning,Error)
FluentValidation Integration
AbstractValidatorExtensions–GetResultandGetResultAsyncextension methods that execute aFluentValidation.AbstractValidator<T>and return aResult<T>
API Response Models
ApiResult/ApiResult<T>– API response wrappers withDetailcollectionApiResultDetail– serializable detail model withCode,Message,Property, andType
JSON Support
ResultCodeJsonConverter/ResultMessageJsonConverter–System.Text.Jsonconverters forResultCodeandResultMessage
Dependencies
Installation
dotnet add package YuckQi.Domain.Validation
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- FluentValidation (>= 12.1.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on YuckQi.Domain.Validation:
| Package | Downloads |
|---|---|
|
YuckQi.Domain.Services
A .NET library for bootstrapping a domain services project. |
|
|
YuckQi.Application.Core
A .NET library for bootstrapping a domain application project. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.5.1 | 270 | 3/18/2026 |
| 8.5.0 | 144 | 3/17/2026 |
| 8.4.0 | 156 | 3/10/2026 |
| 8.3.2 | 111 | 3/9/2026 |
| 8.3.1 | 114 | 3/9/2026 |
| 8.3.0 | 117 | 3/9/2026 |
| 8.0.0 | 184 | 2/1/2026 |
| 6.5.3 | 1,628 | 5/12/2025 |
| 6.5.2 | 3,464 | 4/2/2024 |
| 6.5.1 | 280 | 3/27/2024 |
| 6.5.0 | 264 | 3/27/2024 |
| 6.4.2 | 243 | 9/19/2023 |
| 6.4.1 | 211 | 9/19/2023 |
| 6.4.0 | 299 | 9/18/2023 |
| 6.2.0 | 426 | 3/23/2023 |
| 6.1.0 | 9,553 | 8/16/2022 |
| 6.0.4 | 1,320 | 6/7/2022 |
| 6.0.3 | 771 | 5/30/2022 |
| 6.0.2 | 782 | 5/29/2022 |
| 1.3.1 | 1,099 | 6/7/2022 |
Loading failed