Skip to content

ASP.NET Core template utilizing Minimal APIs and Native AOT compilation

License

Notifications You must be signed in to change notification settings

ryanseipp/dotnet-aot-api

Repository files navigation

Dotnet AOT API Template

build CodeQL

A starting point for building ASP.NET Core Web APIs with minimal APIs and Native AOT compilation.

Features

  • Minimal APIs
  • DB access via Npgsql
  • Observability via OpenTelemetry
  • Simple Todo domain as example
  • Source Generator for wiring up endpoint classes
  • Full-fledged authentication and user management
  • Useful Grafana dashboards

TODO

  • User authentication and management is still WIP. Ideally support for email confirmation and 2FA will be added.
  • Complete Todo domain and request handlers.
  • Build useful Grafana dashboards for determining key performance metrics of the API.

Observability

Preview of the configured Grafana dashboard with metrics from the running API

About

ASP.NET Core template utilizing Minimal APIs and Native AOT compilation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published