Skip to content

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

Notifications You must be signed in to change notification settings

robrich/minimal-apis-aspnet

Folders and files

NameName
Last commit message
Last commit date
Dec 8, 2022
Nov 11, 2021
Feb 8, 2025
Feb 8, 2025
Feb 8, 2025
Feb 8, 2025
Feb 8, 2025
Feb 8, 2025
Feb 8, 2025
Feb 9, 2025
Feb 8, 2025
Nov 11, 2021
Feb 8, 2025

Repository files navigation

Minimal APIs with ASP.NET

This code shows how we get from ASP.NET 5 to ASP.NET 9 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 and 11 features:

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

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