The available Microsoft configuration providers (and their NuGet packages) are as follows:
- JavaScript Object Notation (JSON) files: Microsoft.Extensions.Configuration.Json
- XML files: Microsoft.Extensions.Configuration.Xml
- Initialization (INI) files: Microsoft.Extensions.Configuration.Ini
- User secrets: Microsoft.Extensions.Configuration.UserSecrets
- Azure Key Vault: Microsoft.Extensions.Configuration.AzureKeyVault
- Environment variables: Microsoft.Extensions.Configuration.EnvironmentVariables
- Command line: Microsoft.Extensions.Configuration.CommandLine
- Memory: Microsoft.Extensions.Configuration
- Docker secrets: Microsoft.Extensions.Configuration.DockerSecrets
Some of these are based upon the FileConfigurationProviderclass: JSON, XML, and INI.
When you reference these packages, you automatically make their extensions available. So, for example, if you...