Learn Minimal APIs from start to finish. Perfect for beginners.

Controllers tutorials

How to migrate from controllers to Minimal APIs
How to migrate from controllers to Minimal APIs

Learn why Minimal APIs are now recommended in .NET and follow a step-by-step guide to migrate from controllers to Minimal APIs with versioning and Swagger.

ASP.NET Core route constraints: A quick guide for developers
ASP.NET Core route constraints: A quick guide for developers

Learn ASP.NET Core route constraints in this quick guide for developers. Fix routing issues fast and improve API accuracy with simple, clear examples.

How to create ASP.NET Core Web API CRUD methods
How to create ASP.NET Core Web API CRUD methods

We create an ASP.NET Core Web API project and show CRUD examples using GET, POST, PUT & DELETE methods with routing as well as how to test in Postman.

FromQuery? FromForm? What do the .NET Web API attributes do?
FromQuery? FromForm? What do the .NET Web API attributes do?

How the FromQuery, FromBody, FromForm, FromHeader and FromServices attributes work in an ASP.NET Core Web API and MVC app with C# code.

Why is the ASP.NET Core FromBody not working or returning null?
Why is the ASP.NET Core FromBody not working or returning null?

How to use ASP.NET Core FromBody & FromQuery in an API. Why FromBody is returning null & how to fix a 415 unsupported media type error.