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" />
                    
Directory.Packages.props
<PackageReference Include="YuckQi.Domain.Validation" />
                    
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 YuckQi.Domain.Validation --version 8.5.1
                    
#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
                    
Install as a Cake Addin
#tool nuget:?package=YuckQi.Domain.Validation&version=8.5.1
                    
Install as a Cake Tool

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 with Detail collection and IsValid flag; the generic variant carries optional Content
  • IResult / IResult<T> – interfaces for the result types
  • ResultDetail – a single validation issue with message, code, property name, and type
  • ResultMessage – strongly typed validation message with implicit String conversion; includes NotFound factory
  • ResultCode – strongly typed validation code with predefined values (InvalidRequestDetail, NotFound)
  • ResultType – enum (Unknown, Warning, Error)

FluentValidation Integration

  • AbstractValidatorExtensionsGetResult and GetResultAsync extension methods that execute a FluentValidation.AbstractValidator<T> and return a Result<T>

API Response Models

  • ApiResult / ApiResult<T> – API response wrappers with Detail collection
  • ApiResultDetail – serializable detail model with Code, Message, Property, and Type

JSON Support

  • ResultCodeJsonConverter / ResultMessageJsonConverterSystem.Text.Json converters for ResultCode and ResultMessage

Dependencies

Installation

dotnet add package YuckQi.Domain.Validation
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.

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