Model Binding a Form
ASP.NET Core fills an action's parameters, even a whole Product, from the request by matching names. asp-for writes inputs whose names match the model, and ModelState says when a value didn't fit.
Updated

- Category
- ASP.NET Core
- Level
- Journeyman
- Tags
- asp-for, aspnet-core, c-sharp, Model Binding (aspnet-core), ModelState, razor