Mid ASP.NET Core

Binding nested objects and collections?

ASP.NET Core supports binding nested properties:

public class Order {

public Customer Customer { get; set; }

public List<Product> Products { get; set; }

Works seamlessly from JSON or form data if property names match.

More from ASP.NET Core Tutorial

All questions for this course