Wednesday, July 4, 2018

How do most of you deal with Web API based validation in ASP.NET (Core)?

As per the title, when it comes to building friendly APIs, do most of you use the standard approach of Models decorated with validation attributes, or some kind of third party library? This is mostly in regards to non-GET based REST methods that leverage the body of the request. I find the Model based approach works great for forms but isn't really suited APIs.

What are your thoughts, opinions or recommendations?

How do most of you deal with Web API based validation in ASP.NET (Core)? Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team