Enforcing Model Validation Policy in Web APIs

added by DotNetKicks
11/9/2017 2:49:19 PM

2 Kicks, 334 Views

If you're exposing a Web API, one of the most basic things you should be doing on every request, and especially on those requests that mutate your system's state, is ensuring that the data you're accepting is valid. ASP.NET Core MVC (and Web API 2 and MVC 5, too!)