.NET Core: why is appsettings.{environment}.json failing to inherit from parent appsettings.json?
My understanding is that, in .NET Core, child appsettings files, e.g. appsettings.development.json
, inherit from the parent appsettings.json
(in much the same way that, say, C# derived classes inherit from parent classes, unless explicitly overridden) – as long as in your startup logic you include code like the following: