FluentValidation.WebAPI
8.6.1
Prefix Reserved
FluentValidation no longer supports WebApi 2.
dotnet add package FluentValidation.WebAPI --version 8.6.1
NuGet\Install-Package FluentValidation.WebAPI -Version 8.6.1
<PackageReference Include="FluentValidation.WebAPI" Version="8.6.1" />
paket add FluentValidation.WebAPI --version 8.6.1
#r "nuget: FluentValidation.WebAPI, 8.6.1"
// Install FluentValidation.WebAPI as a Cake Addin #addin nuget:?package=FluentValidation.WebAPI&version=8.6.1 // Install FluentValidation.WebAPI as a Cake Tool #tool nuget:?package=FluentValidation.WebAPI&version=8.6.1
ASP.NET WebApi integration for FluentValidation
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.5
- FluentValidation (>= 8.6.1 && < 9.0.0)
- FluentValidation.ValidatorAttribute (>= 8.6.1)
- Microsoft.AspNet.WebApi.Core (>= 5.2.4)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on FluentValidation.WebAPI:
Package | Downloads |
---|---|
MicroElements.Swashbuckle.FluentValidation.WebApi
Swagger ISchemaFilter that uses FluentValidation validators instead System.ComponentModel based attributes. |
|
Smart.SWeb
Smart.Web 使用方法: (在Global.asax.cs文件Application_Start方法添加如下代码) //全局封装webapi的返回结果如:{"Code":500,"Data":null,"Message":"尝试除以零。","Success":false} GlobalConfiguration.Configure(Smart.Web.SmartWeb.InitAPIResultAttribute); //全局异常处理 GlobalConfiguration.Configure(Smart.Web.SmartWeb.InitApiExceptionHandlingAttribute); (在WebApiConfig.cs文件Register方法添加如下代码) //控制器版本管理 Dictionary<string, object> dic = new Dictionary<string, object>(); dic.Add("config", config); var versionControllerSelector = Smart.Kernel.Resolve<Smart.Web.ISVersionControllerSelector>(dic); config.Services.Replace(typeof(IHttpControllerSelector), versionControllerSelector); |
|
Improving.AspNet
Improving web api, mvc, and mediatr integration |
|
Startup.Web
Helper library to startup new web based projects using DDD Architecture |
|
JE.ApiValidation.WebApi.FluentValidation
API Validation support with FluentValidation for frameworks we use. Standard error response DTO. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on FluentValidation.WebAPI:
Repository | Stars |
---|---|
exceptionnotfound/DotNetCqrsDemo
|
Version | Downloads | Last updated | |
---|---|---|---|
8.6.1 | 1,250,977 | 2/24/2020 | |
8.6.0 | 158,272 | 12/4/2019 | |
8.5.1 | 104,025 | 11/2/2019 | |
8.5.0 | 122,631 | 9/24/2019 | |
8.4.0 | 356,917 | 5/10/2019 | |
8.3.0 | 13,483 | 4/24/2019 | |
8.2.3 | 69,824 | 4/12/2019 | |
8.2.0 | 85,356 | 3/26/2019 | |
8.1.3 | 180,346 | 1/25/2019 | |
8.1.2 | 48,078 | 12/18/2018 | |
8.1.1 | 8,994 | 12/11/2018 | |
8.1.0 | 9,791 | 12/6/2018 | |
8.0.100 | 380,664 | 9/4/2018 | |
8.0.0 | 51,407 | 8/16/2018 | |
8.0.0-rc1 | 7,354 | 7/24/2018 | |
8.0.0-preview4 | 2,082 | 7/16/2018 | |
8.0.0-preview3 | 2,073 | 7/13/2018 | |
8.0.0-preview2 | 1,955 | 7/13/2018 | |
8.0.0-preview1 | 2,101 | 7/10/2018 | |
7.6.105 | 209,194 | 8/11/2018 | |
7.6.104 | 127,536 | 7/6/2018 | |
7.6.103 | 39,652 | 6/16/2018 | |
7.6.102 | 10,386 | 6/14/2018 | |
7.6.101 | 2,837 | 6/13/2018 | |
7.6.0 | 27,806 | 6/1/2018 | |
7.5.2 | 263,564 | 3/16/2018 | |
7.5.1 | 31,512 | 3/11/2018 | |
7.5.0 | 58,365 | 2/26/2018 | |
7.4.0 | 39,816 | 2/21/2018 | |
7.2.1 | 694,309 | 10/24/2017 | |
7.2.0 | 117,033 | 10/5/2017 | |
7.1.1 | 305,124 | 7/25/2017 | |
7.1.0 | 158,164 | 6/28/2017 | |
7.1.0-beta1 | 1,939 | 6/24/2017 | |
7.0.3 | 63,854 | 6/7/2017 | |
7.0.1 | 44,023 | 5/23/2017 | |
7.0.0 | 87,922 | 5/19/2017 | |
7.0.0-beta3 | 2,102 | 5/1/2017 | |
7.0.0-beta2 | 3,418 | 4/17/2017 | |
7.0.0-beta1 | 2,096 | 4/7/2017 | |
6.4.0 | 302,618 | 3/3/2017 | |
6.4.0-beta9 | 2,725 | 11/29/2016 | |
6.2.1 | 807,454 | 2/26/2016 | |
6.2.1-beta1 | 2,423 | 2/24/2016 | |
6.2.0 | 81,376 | 2/22/2016 | |
6.2.0-beta1 | 2,090 | 2/12/2016 | |
6.1.0 | 115,448 | 1/18/2016 | |
6.0.2 | 25,562 | 1/5/2016 | |
6.0.1 | 2,976 | 1/5/2016 | |
6.0.0 | 15,399 | 12/22/2015 | |
5.6.2 | 201,514 | 5/29/2015 | |
5.6.1 | 2,984 | 5/29/2015 | |
5.6.0 | 9,035 | 5/22/2015 | |
5.5.0 | 120,965 | 10/31/2014 | |
5.4.0 | 24,660 | 7/3/2014 | |
5.2.0 | 5,769 | 5/21/2014 | |
5.1.0 | 68,890 | 3/11/2014 |
Changes in 8.6.0:
* AddToModelState no longer includes a dot if PropertyName is null
Changes in 8.2.3:
* Fix issue in WebApi integration where DataAnnotations validators could generate duplicate messages when in the same project as FluentValidation.
Changes in 8.1.0:
* Added Skip property on CustomizeValidatorAttribute for consistency with ASP.NET Core.
Changes in 7.5.1:
* Added support for CustomizeValidatorAttribute for consistency with MVC5 and AspNetCore.
Changes in 7.4:
* Support for WebApi 5.2.4 and improved integration with WebApi's validation pipeline.