VOOZH about

URL: https://www.nuget.org/packages/MinimalCleanArch.Validation/

⇱ NuGet Gallery | MinimalCleanArch.Validation 0.1.19




👁 Image
MinimalCleanArch.Validation 0.1.19

dotnet add package MinimalCleanArch.Validation --version 0.1.19
 
 
NuGet\Install-Package MinimalCleanArch.Validation -Version 0.1.19
 
 
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="MinimalCleanArch.Validation" Version="0.1.19" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MinimalCleanArch.Validation" Version="0.1.19" />
 
Directory.Packages.props
<PackageReference Include="MinimalCleanArch.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 MinimalCleanArch.Validation --version 0.1.19
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MinimalCleanArch.Validation, 0.1.19"
 
 
#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 MinimalCleanArch.Validation@0.1.19
 
 
#: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=MinimalCleanArch.Validation&version=0.1.19
 
Install as a Cake Addin
#tool nuget:?package=MinimalCleanArch.Validation&version=0.1.19
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

MinimalCleanArch.Validation

Validation components for MinimalCleanArch.

Version

  • Current stable: 0.1.19-preview (net9.0, net10.0).

Why Use It

  • register FluentValidation validators with short, MCA-oriented extension methods
  • plug validators into the MCA Minimal API pipeline without repeating setup code across hosts
  • keep validator discovery and registration consistent between generated apps and hand-built applications

When to Use It

  • use it when your API project relies on FluentValidation and MCA endpoint validation
  • keep it at the API/host or composition-root boundary where validators are registered
  • skip it if you are not using FluentValidation or you are not using the MCA HTTP pipeline

Dependency Direction

  • Depends on: MinimalCleanArch, MinimalCleanArch.Extensions
  • Typically referenced by: API/host projects or composition roots
  • Do not reference from: domain projects; infrastructure projects generally do not need it
  • Note: this package exists to support host-side validator registration, not domain modeling

Overview

  • FluentValidation registration helpers.
  • Integration with MinimalCleanArch.Extensions endpoint validation.
  • Short registration methods for application validators.

Usage

dotnet add package MinimalCleanArch.Validation --version 0.1.19-preview

Recommended registration:

builder.Services.AddValidationFromAssemblyContaining<CreateTodoCommandValidator>();
builder.Services.AddMinimalCleanArchExtensions();

If you use the higher-level API bootstrap from MinimalCleanArch.Extensions, you can register validators there instead:

builder.Services.AddMinimalCleanArchApi(options =>
{
 options.AddValidatorsFromAssemblyContaining<CreateTodoCommandValidator>();
});

Recommended methods:

  • AddValidation(...) registers validators from one or more assemblies.
  • AddValidationFromAssemblyContaining<T>() registers validators from the assembly containing T.
  • AddMinimalCleanArchValidation(...) and AddMinimalCleanArchValidationFromAssemblyContaining<T>() remain available as compatibility aliases.
Product Versions Compatible and additional computed target framework versions.
.NET net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows 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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.19 121 3/18/2026
0.1.19-preview 103 3/18/2026
0.1.18 116 3/13/2026
0.1.18-preview 107 3/12/2026
0.1.17 114 3/12/2026
0.1.17-preview 110 3/8/2026
0.1.16-preview 103 3/7/2026
0.1.15-preview 103 3/3/2026
0.1.14 115 3/2/2026
0.1.14-preview 104 3/1/2026
0.1.13-preview 102 2/28/2026
0.1.12-preview 116 2/22/2026
0.1.11-preview 119 12/27/2025
0.1.10-preview 115 12/27/2025
0.1.9-preview 141 12/21/2025
0.1.8-preview 241 12/15/2025
0.1.7 173 12/14/2025
0.1.7-preview 431 12/11/2025
0.1.6 455 12/9/2025
0.1.6-preview 490 12/9/2025
Loading failed