One of the extremely powerful features of .Net Core is Configuration provider, which allows reading configuration data as key-value pairs from various sources like Azure Key Vault, directory files, Azure app configuration, and environment variables, to name but a few. Whenever we create a web application in .Net core, there are 5 default configuration providers that are loaded by the static method CreateDefaultBuilder () of Host Class at runtime.

public static IHostBuilder CreateHostBuilder(string[] args) =>  
              Host.CreateDefaultBuilder(args) 

You can verify it, by putting a breakpoint in the constructor of the Startup class.

#aspdotnet

Default Configuration Providers In ASP.NET Core Application
1.75 GEEK