/aspnetcore-minimal-api

Example of a minimal API and some basics features

Primary LanguageC#

aspnetcore-minimal-api

Example of a minimal API and some basics features (Work in progress):

Swagger doc

Authentication

CORS

Endpoint protected by authentication

Dependency injection without using [FromService] attributes

C# 9 & 10 features such as Top-level programs, Global gsings, File-scoped namespaces, Attributes on lambdas