model binding

Turning parts of an HTTP request, such as route values, the query string, headers and the JSON body, into typed parameters for your handler.

In more detail

Controllers and minimal APIs both infer the source from the parameter's type and name; attributes such as [FromBody] make it explicit. Binding failures become client errors before your code runs.

Related terms

Taught in

References