ModelState in ASP.NET 5.0 MVC

added by DotNetKicks
2/15/2021 5:32:20 PM

597 Views

If you are programming in ASP.NET 5.0 MVC, you will certainly have seen the class ModelState pop up a few times. Ever wondered what that is, or what the property ModelState.IsValid does, and why it's there? So did I. In this post, we're going to explain what the ModelState is, and what it is used for.


0 comments