Skip to content

Configuration

Generated apps embed appsettings.json (and overlays) in the Application project. Template symbols set defaults such as:

  • Api:BaseUrl (from ApiBaseUrl)
  • Authentication:Identity provider and related keys (from AuthenticationProvider and docs)

Use IOptions<T> and the standard configuration builder in MauiProgram.cs consistent with Microsoft.Extensions.Configuration patterns.

Deep dive in-repo: infrastructure.md, logging.md.

Tip

After dotnet new, review generated appsettings*.json before first deploy; URLs and Entra/OIDC client IDs are environment-specific.