© Adam Freeman 2016

ADAM FREEMAN, Pro ASP.NET Core MVC , 10.1007/978-1-4842-0397-2_26

26. Model Binding



Model binding is the process of creating .NET objects using the data from the HTTP request in order to provide action methods with the arguments they need. In this chapter, I describe the way the model binding system works; show how it binds simple types, complex types, and collections; and demonstrate how you can take control of the process to specify which part of the request provides the data values your action methods require. Table 26-1 puts model binding in context.

Table 26-1. Putting Model Binding in Context



What is it?

Model binding is the process of creating the objects that action ...

Get Pro ASP.NET Core MVC, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.