Introduction to ASP.NET MVC Model Binding

In this article, we’ll try to understand what ASP.NET MVC Model Binding is. We will look into some code samples to understand Model Binding and why it is useful for ASP.NET MVC application development.

When developers just started using ASP.NET MVC, they often ask this question: “How the values from HTML for(view) gets converted to the Model class when it reaches the Action method of the Controller class?”.

This magic is being done by ASP.NET model binder. What it does it it takes the values coming from an HTML page and map it to the corresponding model. This feature relieves the developers from writing all the type casting and HTML-Model mapping code.


Read the rest of the tutorial here:

Leave a Reply

Your email address will not be published. Required fields are marked *