How we (some of us?) do Model validation right now We, developers, use a lot of repetitive code in our ASP.NET (Core) Web API / MVC actions. Inside of our controller actions we usually check if the model is valid by using ModelState property available on MVC’s base controller class: View the code on Gist. The […]
Continue reading