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" />
paket add FluentValidation.AspNetCore --version 8.6.0
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
Dependencies
-
.NETCoreApp 3.0
- FluentValidation (>= 8.6.0)
- FluentValidation.DependencyInjectionExtensions (>= 8.6.0)
-
.NETStandard 2.0
- FluentValidation (>= 8.6.0)
- FluentValidation.DependencyInjectionExtensions (>= 8.6.0)
- Microsoft.AspNetCore.Mvc (>= 2.1.0)
GitHub Usage
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.
|
||
iamoldli/NetModular
NetModular is a modular quickly develop solution for .Net Core and Vue.js.
|
||
yilezhu/Czar.Cms
.NET Core实战项目之CMS系列教程的源码,精简而又功能丰富的权限设计,内容管理设计让你轻松搭建一个ASP.NET Core2.2的网站系统.此项目准备用EFCore进行重构,敬请期待
|
||
JasonGT/CleanArchitecture
Clean Architecture Solution Template for Angular 8 and .NET Core 3
|
Version History
Version | Downloads | Last updated | ||
---|---|---|---|---|
8.6.0 | 3,769 | 12/4/2019 | ||
8.5.1 | 102,768 | 11/2/2019 | ||
8.5.0 | 278,597 | 9/24/2019 | ||
8.5.0-preview5 | 13,765 | 9/1/2019 | ||
8.5.0-preview4 | 14,817 | 7/23/2019 | ||
8.5.0-preview3 | 3,136 | 7/10/2019 | ||
8.5.0-preview2 | 5,876 | 6/13/2019 | ||
8.5.0-preview1 | 5,296 | 5/10/2019 | ||
8.4.0 | 1,211,561 | 5/10/2019 | ||
8.3.0 | 131,545 | 4/24/2019 | ||
8.2.2 | 195,039 | 4/5/2019 | ||
8.2.1 | 15,880 | 4/4/2019 | ||
8.2.0 | 82,624 | 3/26/2019 | ||
8.1.3 | 773,657 | 1/25/2019 | ||
8.1.2 | 387,234 | 12/18/2018 | ||
8.1.1 | 100,955 | 12/11/2018 | ||
8.1.0 | 52,755 | 12/6/2018 | ||
8.0.101 | 127,078 | 11/24/2018 | ||
8.0.100 | 609,648 | 9/4/2018 | ||
8.0.0 | 106,411 | 8/16/2018 | ||
8.0.0-rc1 | 8,176 | 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,708 | 8/11/2018 | ||
7.6.104 | 357,748 | 7/6/2018 | ||
7.6.103 | 151,761 | 6/16/2018 | ||
7.6.102 | 36,138 | 6/14/2018 | ||
7.6.101 | 10,777 | 6/13/2018 | ||
7.6.0 | 86,537 | 6/1/2018 | ||
7.6.0-preview1 | 2,531 | 4/12/2018 | ||
7.5.2 | 478,439 | 3/16/2018 | ||
7.5.0 | 193,237 | 2/26/2018 | ||
7.4.0 | 113,458 | 1/26/2018 | ||
7.3.4 | 113,052 | 1/2/2018 | ||
7.3.3 | 50,274 | 12/22/2017 | ||
7.3.2 | 4,052 | 12/21/2017 | ||
7.3.1 | 29,761 | 12/13/2017 | ||
7.3.0-beta3 | 4,830 | 12/8/2017 | ||
7.3.0-beta2 | 11,636 | 11/20/2017 | ||
7.3.0-beta1 | 1,251 | 11/11/2017 | ||
7.2.1 | 211,521 | 10/24/2017 | ||
7.2.0 | 52,278 | 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 | 153,097 | 7/25/2017 | ||
7.1.0 | 43,168 | 6/28/2017 | ||
7.1.0-beta1 | 348 | 6/24/2017 | ||
7.0.3 | 21,819 | 6/7/2017 | ||
7.0.2 | 13,300 | 5/26/2017 | ||
7.0.0 | 9,681 | 5/19/2017 | ||
7.0.0-beta3 | 865 | 5/1/2017 | ||
7.0.0-beta2 | 1,323 | 4/17/2017 | ||
7.0.0-beta1 | 1,174 | 4/7/2017 | ||
6.4.0 | 158,658 | 3/3/2017 | ||
6.4.0-rc4 | 4,148 | 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,391 | 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 |