liveBook · Manning

Appsettings.Development.json

appsettings.Development.json is an ASP.NET Core environment-specific JSON configuration file whose settings apply when the Development environment is active.

How 3 Manning books explain it

Building Web APIs with ASP.NET Core

appsettings.Development.json is an ASP.NET Core environment-specific configuration file whose settings apply to the Development environment and override or extend shared settings.

How it is used
Keeps development-only API settings separate from shared configuration, including the switch for detailed exception pages.
How deep it goes
Explains environment selection and file precedence, then walks through a configuration override and its use in `Program.cs`.
Examples
Uses a board-game API setting that enables the developer exception page in Development while leaving the shared value false.
What you can do after
Operate/configure it to override shared settings in Development and select the corresponding error-handling behavior.

Read how Building Web APIs with ASP.NET Core explains appsettings.Development.json →

.NET in Action, Second Edition

appsettings.Environment.json is the conventional ASP.NET Core configuration file whose Environment placeholder is replaced by the current environment name.

How it is used
Selects non-secret configuration values for the active ASP.NET Core environment and overrides shared appsettings.json values.
How deep it goes
Explains filename matching, loading precedence, and overrides, then demonstrates values through IConfiguration and a controller endpoint.
Examples
Uses Development and region values, a /config endpoint, and a TestOverwrite key to demonstrate successive overrides.
What you can do after
Operate/configure ASP.NET Core applications with environment-specific defaults and verify precedence through an HTTP configuration endpoint.

Read how .NET in Action, Second Edition explains appsettings.Development.json →

ASP.NET Core in Action, 3e

appsettings.Development.json is an ASP.NET Core environment-specific application configuration file containing settings for the Development environment.

How it is used
Configures runtime behavior specifically for the Development environment.
How deep it goes
Explains file location, optional loading, precedence, and environment selection, but does not detail JSON schema or individual setting types.
Examples
Uses appsettings.Development.json, appsettings.Staging.json, appsettings.Production.json, verbose logging, and conditional User Secrets.
What you can do after
Operate/configure environment-specific ASP.NET Core settings and understand which values override shared configuration.

Read how ASP.NET Core in Action, 3e explains appsettings.Development.json →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.