<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ModelState on CodingBlast</title><link>https://codingblast.com/tags/modelstate/</link><description>Recent content in ModelState on CodingBlast</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 13 Mar 2018 13:29:34 +0000</lastBuildDate><atom:link href="https://codingblast.com/tags/modelstate/index.xml" rel="self" type="application/rss+xml"/><item><title>ASP.NET Core 2 - Global Model validation</title><link>https://codingblast.com/asp-net-core-global-model-validation/</link><pubDate>Sat, 24 Feb 2018 11:34:56 +0000</pubDate><guid>https://codingblast.com/asp-net-core-global-model-validation/</guid><description>&lt;h2 id="how-we-some-of-us-do-model-validation-right-now"&gt;How we (some of us?) do Model validation right now&lt;/h2&gt;
&lt;p&gt;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 &lt;em&gt;ModelState&lt;/em&gt;property available on MVC&amp;rsquo;s base controller class:&lt;/p&gt;</description></item></channel></rss>