Fun with IConfiguration
2021-01-19 14:00:00Z
These days a .NET application is typically configured at startup using an extensible API known as the configuration builder API. This allows the use of arbitrary sources of configuration - typically, out of the box, that means environment variables, command line args and JSON files (e.g. appsettings.json) but can also mean more “exotic” sources; anything from INI files to a SQL database to a secure secret store. How it works When defining an application’s configuration sources the individual providers are added using a fluent syntax.
Read more…