Skip to content

template with all essential tools and configs for basic dotnet api

License

Notifications You must be signed in to change notification settings

Azaferany/dotnet-quickstart-template

Repository files navigation

dotnet-quickstart-template

line coverage

template with all essential tools and configs for basic dotnet api

Usage : for use this template run below commands

  1. dotnet new --install QuickstartTemplate

  2. dotnet new quickstart -n {project name}

Features

  • add api versioning (ef3529b)
  • add Cors (46aa976)
  • add distributed cache (5e05da7)
  • add SystemClock (63c9b86)
  • add ef DbContext with ISoftDeletable & ITimeable (41b61b3)
  • add health checks (5043179)
  • add oauth2 (jwt + introspection) authentication & authorization (051c72d)
  • add OpenTelemetry tracing (5b47897)
  • add prometheus metrics (a565aa5)
  • add request logging (8f4bde1)
  • add sentry (90ab194)
  • add swagger (be7b149)
  • add http client request + response logging (a53c199)
  • add initial WebApplicationFactory for IntegrationTests (9d4ccd3)
  • add localization (081b5b3)
  • add Metrics for all HttpClients(provided by HttpClientFactory) (726a11e)
  • add migrations script (79decf2)
  • add startup.cs (08bdbe3)
  • add Swagger Snapshot Tests (925f6d1)
  • add test for ISoftDeletable & ITimeable Auto fill properties (#3) (f0efc66)
  • add user detail tests (#2) (f4db540)
  • enrich logs with trace ids (8728d6d)
  • fill httpContext.User.Identity.Name correct and use it directly (6ecd0ef)
  • include xml comments in swagger docs (6029df7)
  • init clean architecture structure (8d429d7)