Skip to content

robrich/minimal-apis-aspnet

Repository files navigation

Minimal APIs with ASP.NET

This code shows how we get from ASP.NET 5 to ASP.NET 7 with minimal APIs. Throughout the live demo, we upgrade small pieces of an ASP.NET 5 app until we leverage these brand-new ASP.NET and C# 10 features:

  • File-scoped namespaces
  • Global using directives
  • Automatic global usings
  • Top-level statements
  • async Main
  • Minimal APIs
  • Parameter and Dependency Injection
  • Integration testing improvements

License

MIT

About

A presentation about new C# features and Minimal APIs in ASP.NET. See https://robrich.org/ for more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published