FluentAnnotationsValidator.Core 2.0.0-rc.1.0.0

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

FluentAnnotationsValidator.Core

This package provides the core abstractions, fluent APIs, and rule composition interfaces for building expressive validation pipelines in .NET.

Features

  • IValidationRuleBuilder<T, TProp> – Fluent rule builder interface
  • Extension methods for composing validation logic
  • Support for chaining, conditional rules, and metadata-driven validation
  • Designed for integration with custom validators or runtime engines

Installation

dotnet add package FluentAnnotationsValidator.Core

Usage

builder.RuleFor(x => x.Quantity)
       .Minimum(1)
       .Maximum(100)
       .WithMessage("Quantity must be between 1 and 100.");

License

MIT

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.
  • net8.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on FluentAnnotationsValidator.Core:

Package Downloads
FluentAnnotationsValidator

A fluent, culture-aware validation library for .NET. Automatically transforms [ValidationAttribute] annotations into runtime rules, with support for conditional logic, error localization, and developer-friendly configuration.

FluentAnnotationsValidator.AspNetCore

Provides ASP.NET Core endpoint integration for FluentAnnotationsValidator, enabling automatic model validation via endpoint filters and fluent rule composition. Supports minimal APIs, custom attributes, and localized error messages with zero boilerplate.

FluentAnnotationsValidator.Annotations

Provides a rich set of custom validation attributes for fluent rule composition in .NET applications. Designed for use with FluentAnnotationsValidator, enabling expressive, localized, and extensible validation pipelines.

FluentAnnotationsValidator.Runtime

The execution engine of the FluentAnnotationsValidator ecosystem powering dynamic validation pipelines by discovering attributes, composing rules, and executing validations at runtime.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0-rc.1.0.0 82 10/4/2025