Sample showing how to use appsettings.json for .NET 4.7.1 configuration builders
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ConfigSampleWebApp
.gitattributes
.gitignore
ConfigSampleWebApp.sln
LICENSE
README.md

README.md

Sample for how to use appsettings.json + overrides to populate web.config/app.config AppSettings and ConnectionStrings

This sample application shows how to use configuration builders (introduced in .NET 4.7.1) and the configuration system introduced in ASP.NET Core (Microsoft.Extensions.Configuration) to load appsettings.json files and overriding per-environment files like appsettings.Development.json to populate app settings and connection strings usually set in web.config (also works for console apps and App.config).