~/talk

Let’s Get Minimal: .NET 6 New APIs in ASP.NET Core

Talkat DevDays Europe 2022 · 2022-04-27..04-28· [dotnet, software-architecture]
slides:none on file

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

  1. 0:00Minimal APIs intro
  2. 1:48ASP.NET Core 6/7 minimal APIs
  3. 6:05Controller vs minimal APIs
  4. 11:45Create minimal API project
  5. 16:19Hosting model in ASP.NET Core
  6. 22:37Request pipeline in minimal APIs
  7. 27:19Endpoint mapping features
  8. 32:02Dependency injection in minimal APIs
  9. 36:36Migrate to minimal APIs
  10. 39:24Configuration changes in .NET 6/7
  11. 40:26Test minimal APIs
  12. 42:34When to use minimal APIs
  13. 45:19Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.