An In-Depth Look at ASP.NET MVC ModelState

If you have spent much time around ASP.NET MVC, you have no doubt used ModelState just like all other good little MVC developers. Have you ever peeked under the covers, though, and looked at why and how it works? In this post, we will do just that. What is ModelState? ModelState is, at its core, the values of a form …