Friday, September 30, 2016

Using FluentValidation for ASP.NET Web API

If you want to implement validation for your ASP.NET MVC Web Application, this is easily done in a number of ways using ASP.NET MVC's own validation mechanisms as well as using NuGet packages such as FluentValidation for ASP.NET MVC:

Unfortunately, even though there is also a FluentValidation NuGet package for ASP.NET Web API (, there is no corresponding documentation for ASP.NET Web API on the FluentValidation Wiki!(

Thankfully, though, there are a few articles which address just how to accomplish this using the FluentValidation library for ASP.NET Web API!

No comments:

Post a Comment