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.
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
- appsettings.jsoncontrasts with · appsettings.json is a conventional JSON configuration file used by .NET applications to store application settings.
- ASP.NET Core environmentconfigured by · The ASP.NET Core environment is a named runtime setting, commonly specified by ASPNETCORE_ENVIRONMENT, that identifies the hosting context and controls environment-specific behavior and configuration.
- execution environmentconfigures · An execution environment is the computing context, including hardware, software, configuration, and supporting resources, in which programs run.
- JavaScript runtimeconfigured by · A JavaScript runtime is an execution environment that runs JavaScript code and provides the language engine and host APIs needed to interact with its platform.
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.


