Let’s Get Minimal: .NET 6 New APIs in ASP.NET Core
summary
Claims that minimal web APIs in .NET 6 (with .NET 7 previews) cut ceremony to a few lines, replace controllers with map/post delegate overload handlers, and merge hosting via WebApplicationBuilder. Demo builds a working leaderboard Web API using Visual Studio 2022, Entity Framework (in‑memory for tests), Application Insights and Swagger/OpenAPI; code lives on GitHub. Highlights include attribute-on-lambda metadata, DI and automatic binding, the new configuration manager, and file uploads via IFormFile in .NET 7 — the demo runs successfully.
AI-written summary · about
chapters (13)
- 0:00Minimal APIs intro
- 1:48ASP.NET Core 6/7 minimal APIs
- 6:05Controller vs minimal APIs
- 11:45Create minimal API project
- 16:19Hosting model in ASP.NET Core
- 22:37Request pipeline in minimal APIs
- 27:19Endpoint mapping features
- 32:02Dependency injection in minimal APIs
- 36:36Migrate to minimal APIs
- 39:24Configuration changes in .NET 6/7
- 40:26Test minimal APIs
- 42:34When to use minimal APIs
- 45:19Q&A
related talks
54mMinimal APIs in ASP.NET 6.0
58mMinimal APIs in ASP NET 6 0
54mGoodbye controllers, hello Minimal APIs
51mBuilding Web APIs with ASP.NET Core
01h 01mWhat's New In ASP.NET Core
01h 11mASP.NET Basics for Experts
01h 03mASP.NET Core 1: What has changed for MVC and Web API developers?
01h 14mThe Future of Web Development with ASP.NET Core & Blazor in .NET 10
