Update index.md (#23526)
* Update index.md * Update aspnetcore/fundamentals/configuration/index.mdpull/23531/head
parent
64b9e976f0
commit
9ea7fb821f
|
@ -40,7 +40,7 @@ ASP.NET Core web apps created with [dotnet new](/dotnet/core/tools/dotnet-new) o
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
```
|
```
|
||||||
|
|
||||||
`CreateBuilder` provides default configuration for the app in the following order:
|
[WebApplication.CreateBuilder](xref:Microsoft.AspNetCore.Builder.WebApplication.CreateBuilder%2A) initializes a new instance of the <xref:Microsoft.AspNetCore.Builder.WebApplicationBuilder> class with preconfigured defaults. The initialized `WebApplicationBuilder` (`builder`) provides default configuration for the app in the following order:
|
||||||
|
|
||||||
1. [ChainedConfigurationProvider](xref:Microsoft.Extensions.Configuration.ChainedConfigurationSource) : Adds an existing `IConfiguration` as a source. In the default configuration case, adds the [host](#hvac) configuration and setting it as the first source for the _app_ configuration.
|
1. [ChainedConfigurationProvider](xref:Microsoft.Extensions.Configuration.ChainedConfigurationSource) : Adds an existing `IConfiguration` as a source. In the default configuration case, adds the [host](#hvac) configuration and setting it as the first source for the _app_ configuration.
|
||||||
1. [appsettings.json](#appsettingsjson) using the [JSON configuration provider](#file-configuration-provider).
|
1. [appsettings.json](#appsettingsjson) using the [JSON configuration provider](#file-configuration-provider).
|
||||||
|
|
Loading…
Reference in New Issue