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
Separates Development-only configuration from settings shared across runtime environments.
How deep it goes
Explains environment selection and configuration precedence, then walks through adding an override and reading it in Program.cs.
Examples
Uses the board-game API’s UseDeveloperExceptionPage setting to override a shared false value with true in Development.
What you can do after
Operate/configure Development-specific settings and use a Boolean configuration value to select exception-handling middleware.

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 →

Also covered in

What to know first

Related concepts

Questions about appsettings.Development.json

What is 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.

Which Manning books explain appsettings.Development.json?

Building Web APIs with ASP.NET Core, .NET in Action, Second Edition and ASP.NET Core in Action, 3e.

What should I know before learning appsettings.Development.json?

Manning books that teach appsettings.Development.json usually introduce JSON first.

What is appsettings.Development.json a kind of?

Appsettings.Development.json is a kind of configuration source. A configuration source is an origin that supplies key-value settings to an application’s configuration system.

What is appsettings.Development.json part of?

Appsettings.Development.json is part of appsettings.json. appsettings.json is a conventional JSON configuration file used by .NET applications to store application settings.

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.