In this article, we will see the new features of Minimal APIs in ASP.NET Core 8.0. Binding to forms We can bind to forms using the [FromForm] attribute. Let’s see an example: app.MapPost("/books", async ([FromForm] string name,
[FromForm] BookType bookType, IFormFile? cover, BookDb db) =>
{
var book…