Mithun Shanbhag

blog | twitter | linkedin | github | insta

Logo


Quick links

cloudskew.com

my talks

my old blog

Built-in request validators for ASP.NET Core Web APIs

Published on 11 Dec 2018 by Mithun Shanbhag

There are various techniques for validating requests in ASP.NET Core Web APIs. Here is a quick recap:

You can use 3rd party libraries like FluentValidation to set up validation rules. FluentValidation middleware is executed before any of the above (More details here). Maybe I should write a blog post soon on this.

PS: This blog post emanated from a discussion on a slack channel. Thought I should capture it in case anyone else finds it useful. Did I get something wrong? Or miss out on some details? Would love to hear from you. Feel free to send me a tweet.

That’s it for today folks!