FluentValidation.AspNetCore 8.6.0

AspNetCore integration for FluentValidation

Install-Package FluentValidation.AspNetCore -Version 8.6.0
dotnet add package FluentValidation.AspNetCore --version 8.6.0
<PackageReference Include="FluentValidation.AspNetCore" Version="8.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FluentValidation.AspNetCore --version 8.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Changes in 8.6.0:
* Add support for ASP.NET Core 3.1
* AddToModelState no longer includes a dot if PropertyName is null

Changes in 8.5.1:
* Ensure lazily loaded calls to WithMessage can be used for client-side validation, provided they don't attempt to access model properties from inside the delegate (eg when using IStringLocalizer).

Changes in 8.5.0:
* Compatibility with ASP.NET Core 3.

Changes in 8.4.0:
* Added simplified version of several messages across all translations to aid with ASP.NET Clientside validation.

Changes in 8.3.0:
* Fix issue in ASP.NET Core integration with GetServiceProvider not working correctly when invoked against a CustomContext/MessageBuilderContext.

Changes in 8.2.1:
* Resolved issue using InjectValidator with RuleForEach.
* Add support for a default IValidatorInterceptor to be registered with the Service Provider.

Changes in 8.2.0:
* Add extensions for injecting child validators using the ASP.NET Core Service Provider.

Changes in 8.1.3:
* Resolved issue where clientside validation was incorrectly generating metadata for rules with shared conditions.

Changes in 7.6.103:
* Support for validating controller and Razor properties annotated [BindProperty].

Changes in 7.6:
* Updates to support ASP.NET Core 2.1

Changes in 7.5:
* Better handling of clientside messages when using custom overriden language resources
* Added flag in the ValidationContext's RootDataContext when a validator is invoked by the automatic MVC/WebApi integration

Changes in 7.4:
* Added SetRulesetForClientsideMessages method as an alternative to using the RulesetForClientSideMessagesAttribute
* Updated MVC dependency to version 2.0.2

Changes in 7.3:
* Added support for validating collections when using the automatic MVC integration
* Added support for implicat validation of child properties when using the automatic MVC integration
* Added Skip property to the CustomizeValidatorAttribute to opt-out of validating certain properties

Full release notes can be found at https://github.com/JeremySkinner/FluentValidation/blob/master/Changelog.txt

Showing the top 10 GitHub repositories that depend on FluentValidation.AspNetCore:

Repository Stars
dotnet-architecture/eShopOnContainers
Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET Core 3.0, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor.
nopSolutions/nopCommerce
The most popular open source ecommerce shopping cart solution based on ASP.NET Core
JasonGT/NorthwindTraders
Northwind Traders is a sample application built using ASP.NET Core and Entity Framework Core.
grandnode/grandnode
Free and Open Source Ecommerce Shopping Cart solution based on ASP.NET CORE and MongoDB
gothinkster/aspnetcore-realworld-example-app
ASP.NET Core backend implementation for RealWorld
jbogard/ContosoUniversityDotNetCore-Pages
With Razor Pages
dotnetcore/FlubuCore
A cross platform build and deployment automation system for building projects and executing deployment scripts using C# code.
yilezhu/Czar.Cms
.NET Core实战项目之CMS系列教程的源码,精简而又功能丰富的权限设计,内容管理设计让你轻松搭建一个ASP.NET Core2.2的网站系统.此项目准备用EFCore进行重构,敬请期待
iamoldli/NetModular
NetModular is a modular quickly develop solution for .Net Core and Vue.js.
mmacneil/AngularASPNETCore2WebApiAuth
Sample project demonstrating jwt-based authentication with an Angular (v5.2.1) frontend and ASP.NET Core 2 WebApi. Includes both local user registration with .NET Core Identity membership and facebook login scenarios.

Version History

Version Downloads Last updated
8.6.0 0 12/4/2019
8.5.1 88,186 11/2/2019
8.5.0 265,687 9/24/2019
8.5.0-preview5 13,272 9/1/2019
8.5.0-preview4 14,564 7/23/2019
8.5.0-preview3 3,061 7/10/2019
8.5.0-preview2 5,781 6/13/2019
8.5.0-preview1 5,247 5/10/2019
8.4.0 1,185,786 5/10/2019
8.3.0 130,406 4/24/2019
8.2.2 193,603 4/5/2019
8.2.1 15,659 4/4/2019
8.2.0 82,088 3/26/2019
8.1.3 766,653 1/25/2019
8.1.2 385,225 12/18/2018
8.1.1 100,195 12/11/2018
8.1.0 52,582 12/6/2018
8.0.101 126,697 11/24/2018
8.0.100 606,213 9/4/2018
8.0.0 106,046 8/16/2018
8.0.0-rc1 8,157 7/24/2018
8.0.0-preview4 1,146 7/16/2018
8.0.0-preview3 518 7/13/2018
8.0.0-preview2 296 7/13/2018
8.0.0-preview1 403 7/10/2018
7.6.105 74,165 8/11/2018
7.6.104 356,483 7/6/2018
7.6.103 151,314 6/16/2018
7.6.102 36,119 6/14/2018
7.6.101 10,754 6/13/2018
7.6.0 85,924 6/1/2018
7.6.0-preview1 2,531 4/12/2018
7.5.2 477,314 3/16/2018
7.5.0 192,722 2/26/2018
7.4.0 113,097 1/26/2018
7.3.4 112,759 1/2/2018
7.3.3 50,077 12/22/2017
7.3.2 4,027 12/21/2017
7.3.1 29,732 12/13/2017
7.3.0-beta3 4,830 12/8/2017
7.3.0-beta2 11,583 11/20/2017
7.3.0-beta1 1,251 11/11/2017
7.2.1 211,010 10/24/2017
7.2.0 52,164 10/5/2017
7.2.0-beta3 12,743 9/5/2017
7.2.0-beta2 2,685 8/22/2017
7.2.0-beta1 364 8/19/2017
7.1.1 152,657 7/25/2017
7.1.0 43,127 6/28/2017
7.1.0-beta1 348 6/24/2017
7.0.3 21,806 6/7/2017
7.0.2 13,299 5/26/2017
7.0.0 9,661 5/19/2017
7.0.0-beta3 865 5/1/2017
7.0.0-beta2 1,322 4/17/2017
7.0.0-beta1 1,174 4/7/2017
6.4.0 158,567 3/3/2017
6.4.0-rc4 4,147 2/13/2017
6.4.0-rc3 3,079 2/3/2017
6.4.0-rc2 15,004 1/30/2017
6.4.0-rc1 347 1/30/2017
6.4.0-beta9 28,375 11/21/2016
6.4.0-beta8 9,588 10/31/2016
6.4.0-beta7 525 10/28/2016
6.4.0-beta6 1,024 10/25/2016
6.4.0-beta5 773 10/24/2016
6.4.0-beta4 660 10/21/2016
6.4.0-beta3 12,158 7/4/2016
6.4.0-beta2 325 7/1/2016
6.4.0-beta10 269 1/30/2017
6.4.0-beta1 349 6/28/2016