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

Minimal APIs code examples

.NET 10 Web API using Minimal APIs, EF Core and SQL Server
.NET 10 Web API using Minimal APIs, EF Core and SQL Server

Download a .NET 10 Web API integrated with Minimal APIs and SQL Server alongside Entity Framework Core and FluentValidation.

Migrate controllers to Minimal APIs using API versioning
Migrate controllers to Minimal APIs using API versioning

Download the code that shows how controllers are migrated to Minimal API endpoints using API versioning in an ASP.NET Core Web API.

Using authentication in a Minimal API with Swagger
Using authentication in a Minimal API with Swagger

Download this Minimal API authentication example where API key security has been added through an authentication handler, and has been integrated with Swagger.

Minimal API code example for ASP.NET Core
Minimal API code example for ASP.NET Core

Download an Minimal API code example that allows you to test routes, parameters, results, filters, authentication and unit testing.