Mid ASP.NET Core

Model Binding in MVC/Razor Pages?

  • Automatically maps form values, query strings, route data to C#

model properties.

public IActionResult Submit(User user) { ... }

  • Binds complex types and simple types out-of-the-box.

More from ASP.NET Core Tutorial

All questions for this course