~/talk

Goodbye controllers, hello Minimal APIs

Talkat NDC London 2023 · 2023-01-23..01-27· [dotnet, developer-experience]
slides:none on file

Minimal APIs use C# 9/10 features like top-level statements and implicit usings plus inferred lambda types and attributes on lambdas to remove MVC boilerplate. A working REST CRUD for Customers is built with minimal APIs, Swagger docs, DI, FluentValidation and the third‑party FastEndpoints library, and it performs faster than controllers. Recommended for demos, POCs and microservices (services under ~1,500 lines); not ideal for very large enterprise monoliths. Microsoft predicts 40–80% of new use cases may adopt them.

AI-written summary · about

  1. 0:00Start
  2. 7:51Top-level statements
  3. 9:26Implicit using statements
  4. 10:39Inferred lambda types
  5. 25:06Unsupported features
  6. 27:37Program.cs hell
  7. 30:30Controllers for APIs are weird
  8. 47:56Minimal Valley
  9. 49:58How people get into a programming language
  10. 52:33The programming language express
~/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.