Mithun Shanbhag

(blog | rss | twitter | linkedin)

Logo


Quick links

cloudskew.com

my old blog

my playbook

my speaking engagements

awesome azure resources

awesome azure devops resources

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, please leave a comment below or send me a tweet.

That’s it for today folks!