Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

parameter binding

How ASP.NET Core fills your handler's parameters from the address, query string, headers and body.

Parameter (model) binding maps route values, query strings, headers, the JSON body and services to handler parameters.

Loading interactive…

Examples

  • In app.MapGet("/api/bookmarks/{id:int}", (int id, string? tag) => ...), id comes from the route and tag from the query string.

Read the full section →