Understanding Parameter and Model Binding

In the MVC framework, model binding is the process used to extract values from the HTTP request to provide values for the arguments needed to invoke action methods. In Web API, there are two processes that do this work: parameter binding and model binding. They work in loosely the same way model binding in the MVC framework works, but they are optimized to improve the performance of request handling for web services—and this means there are some important differences to the approach you are used to using.

In any complex Web API project, you will spend a lot of time dealing with the parameter ...

Get Expert ASP.NET Web API 2 for MVC Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.