Model Binding

noun

say it: “MOD-ul BYND-ing” /ˈmɒdəl ˈbaɪndɪŋ/

ASP.NET Core filling an action's parameters from the request: the route, the query string and form fields.

What is Model Binding?

Model binding fills your handler's parameters from the request: the route, the query string, headers, the JSON body or services, converting types as it goes.

In a sentence

  • “With model binding, the form's Name and Price fields fill in a Product parameter.”

Level: Apprentice · More ASP.NET Core terms at this level

Updated