FluentValidation.AspNetCore 9.0.0-preview2

AspNetCore integration for FluentValidation

No packages depend on FluentValidation.AspNetCore.

Changes in 9.0.0:

  • Compatibility with FluentValidation 9.0

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/FluentValidation/FluentValidation/blob/master/Changelog.txt

.NET Core 3.0

.NET Core 3.1

.NET Standard 2.0

Version Downloads Last updated
11.3.1 12 11.06.2025
11.3.0 20 19.12.2024
11.2.2 19 06.01.2025
11.2.1 13 12.01.2025
11.2.0 15 28.01.2025
11.1.3 13 29.01.2025
11.1.2 13 06.01.2025
11.0.3 15 07.01.2025
11.0.2 15 06.01.2025
11.0.1 16 08.01.2025
11.0.0 14 15.01.2025
10.4.0 14 15.01.2025
10.3.6 14 15.01.2025
10.3.5 15 15.01.2025
10.3.4 18 12.01.2025
10.3.3 15 16.01.2025
10.3.1 13 27.01.2025
10.3.0 15 15.01.2025
10.2.3 17 15.01.2025
10.2.2 17 09.01.2025
10.2.1 16 15.01.2025
10.2.0 17 15.01.2025
10.1.0 18 15.01.2025
10.0.4 15 12.01.2025
10.0.3 15 11.01.2025
10.0.2 17 12.01.2025
10.0.1 16 12.01.2025
10.0.0 14 15.01.2025
10.0.0-preview4 17 12.01.2025
10.0.0-preview3 16 12.01.2025
10.0.0-preview2 15 06.01.2025
10.0.0-preview1 17 12.01.2025
9.5.4 24 15.01.2025
9.5.3 20 16.01.2025
9.5.2 20 15.01.2025
9.5.1 21 16.01.2025
9.5.0 19 16.01.2025
9.4.0 18 16.01.2025
9.3.0 17 09.01.2025
9.3.0-preview3 14 12.01.2025
9.3.0-preview2 15 07.01.2025
9.3.0-preview1 14 13.03.2025
9.2.0 15 13.03.2025
9.1.3 16 28.01.2025
9.1.2 17 15.01.2025
9.1.1 18 23.01.2025
9.1.0 21 13.01.2025
9.0.1 19 15.01.2025
9.0.0-preview5 16 07.01.2025
9.0.0-preview4 21 06.01.2025
9.0.0-preview3 15 06.01.2025
9.0.0-preview2 18 06.01.2025
9.0.0-preview1 14 11.01.2025
8.6.3 20 16.01.2025
8.6.2 19 15.01.2025
8.6.1 18 16.01.2025
8.6.0 17 15.01.2025
8.5.1 21 14.01.2025
8.5.0 18 16.01.2025
8.5.0-preview5 15 10.01.2025
8.5.0-preview4 14 12.01.2025
8.5.0-preview3 15 12.01.2025
8.5.0-preview2 17 05.01.2025
8.5.0-preview1 15 11.01.2025
8.4.0 18 16.01.2025
8.3.0 19 16.01.2025
8.2.2 17 09.01.2025
8.2.1 18 11.01.2025
8.2.0 20 15.01.2025
8.1.3 17 15.01.2025
8.1.2 16 12.01.2025
8.1.1 20 12.01.2025
8.1.0 19 16.01.2025
8.0.101 16 15.01.2025
8.0.100 16 15.01.2025
8.0.0 20 15.01.2025
8.0.0-rc1 15 11.01.2025
8.0.0-preview4 17 05.01.2025
8.0.0-preview3 17 06.01.2025
8.0.0-preview2 19 07.01.2025
8.0.0-preview1 16 12.01.2025
7.6.105 18 15.01.2025
7.6.104 17 14.01.2025
7.6.103 16 16.01.2025
7.6.102 17 15.01.2025
7.6.101 17 15.01.2025
7.6.0 18 28.01.2025
7.6.0-preview1 17 12.01.2025
7.5.2 16 12.01.2025
7.5.0 17 28.01.2025
7.4.0 20 24.01.2025
7.3.4 17 15.01.2025
7.3.3 16 15.01.2025
7.3.2 19 06.01.2025
7.3.1 17 27.01.2025
7.3.0-beta3 15 28.01.2025
7.3.0-beta2 15 27.01.2025
7.3.0-beta1 16 27.01.2025
7.2.1 21 16.01.2025
7.2.0 19 14.01.2025
7.2.0-beta3 17 16.01.2025
7.2.0-beta2 15 09.01.2025
7.2.0-beta1 17 11.01.2025
7.1.1 22 15.01.2025
7.1.0 18 15.01.2025
7.1.0-beta1 16 11.01.2025
7.0.3 20 06.01.2025
7.0.2 21 16.01.2025
7.0.0 19 16.01.2025
7.0.0-beta3 16 12.01.2025
7.0.0-beta2 15 12.01.2025
7.0.0-beta1 17 15.01.2025
6.4.0 17 16.01.2025
6.4.0-rc4 17 12.01.2025
6.4.0-rc3 18 15.01.2025
6.4.0-rc2 0 30.01.2017
6.4.0-rc1 0 30.01.2017
6.4.0-beta9 0 21.11.2016
6.4.0-beta8 0 31.10.2016
6.4.0-beta7 0 28.10.2016
6.4.0-beta6 0 25.10.2016
6.4.0-beta5 0 24.10.2016
6.4.0-beta4 0 21.10.2016
6.4.0-beta3 0 04.07.2016
6.4.0-beta2 0 01.07.2016
6.4.0-beta10 0 30.01.2017
6.4.0-beta1 0 28.06.2016