aspnetcore/fundamentals/minimal-apis/includes/parameter-binding-summary8-10.md
:::moniker range=">= aspnetcore-8.0"
Parameter binding is the process of converting request data into strongly typed parameters that are expressed by route handlers. A binding source determines where parameters are bound from. Binding sources can be explicit or inferred based on HTTP method and parameter type.
Supported binding sources:
The following GET route handler uses some of these parameter binding sources:
:::code language="csharp" source="~/fundamentals/minimal-apis/7.0-samples/WebMinAPIs/Program.cs" id="snippet_pbg" highlight="8-11":::
[FromRoute], [FromQuery], [FromHeader], [FromBody], [FromForm], and [FromServices] to explicitly specify binding sources.[FromForm] attribute, including support for IFormFile and IFormFileCollection for file uploads.TryParse, BindAsync, or the IBindableFromHttpContext<T> interface.HttpContext, HttpRequest, HttpResponse, CancellationToken, ClaimsPrincipal, Stream, and PipeReader.Learn more: For detailed information on parameter binding including advanced scenarios, validation, binding precedence, and troubleshooting, see xref:fundamentals/minimal-apis/parameter-binding.
:::moniker-end