Share via


ConfigureWebHostBuilder.ConfigureAppConfiguration Method

Definition

Adds a delegate for configuring the IConfigurationBuilder that will construct an IConfiguration.

public Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureAppConfiguration (Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext,Microsoft.Extensions.Configuration.IConfigurationBuilder> configureDelegate);
abstract member ConfigureAppConfiguration : Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.Extensions.Configuration.IConfigurationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
override this.ConfigureAppConfiguration : Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.Extensions.Configuration.IConfigurationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Public Function ConfigureAppConfiguration (configureDelegate As Action(Of WebHostBuilderContext, IConfigurationBuilder)) As IWebHostBuilder

Parameters

configureDelegate
Action<WebHostBuilderContext,IConfigurationBuilder>

The delegate for configuring the IConfigurationBuilder that will be used to construct an IConfiguration.

Returns

The IWebHostBuilder.

Implements

Applies to