WebHostBuilderExtensions.Configure WebHostBuilderExtensions.Configure WebHostBuilderExtensions.Configure WebHostBuilderExtensions.Configure Method

Definition

Overloads

Configure(IWebHostBuilder, Action<IApplicationBuilder>) Configure(IWebHostBuilder, Action<IApplicationBuilder>) Configure(IWebHostBuilder, Action<IApplicationBuilder>) Configure(IWebHostBuilder, Action<IApplicationBuilder>)

Specify the startup method to be used to configure the web application.

Configure(IWebHostBuilder, Action<WebHostBuilderContext,IApplicationBuilder>) Configure(IWebHostBuilder, Action<WebHostBuilderContext,IApplicationBuilder>) Configure(IWebHostBuilder, Action<WebHostBuilderContext,IApplicationBuilder>) Configure(IWebHostBuilder, Action<WebHostBuilderContext,IApplicationBuilder>)

Specify the startup method to be used to configure the web application.

Configure(IWebHostBuilder, Action<IApplicationBuilder>) Configure(IWebHostBuilder, Action<IApplicationBuilder>) Configure(IWebHostBuilder, Action<IApplicationBuilder>) Configure(IWebHostBuilder, Action<IApplicationBuilder>)

Specify the startup method to be used to configure the web application.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ Configure(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Builder::IApplicationBuilder ^> ^ configureApp);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configureApp);
static member Configure : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function Configure (hostBuilder As IWebHostBuilder, configureApp As Action(Of IApplicationBuilder)) As IWebHostBuilder

Parameters

configureApp
Action<IApplicationBuilder>

The delegate that configures the IApplicationBuilder.

Returns

Configure(IWebHostBuilder, Action<WebHostBuilderContext,IApplicationBuilder>) Configure(IWebHostBuilder, Action<WebHostBuilderContext,IApplicationBuilder>) Configure(IWebHostBuilder, Action<WebHostBuilderContext,IApplicationBuilder>) Configure(IWebHostBuilder, Action<WebHostBuilderContext,IApplicationBuilder>)

Specify the startup method to be used to configure the web application.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ Configure(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Hosting::WebHostBuilderContext ^, Microsoft::AspNetCore::Builder::IApplicationBuilder ^> ^ configureApp);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext,Microsoft.AspNetCore.Builder.IApplicationBuilder> configureApp);
static member Configure : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function Configure (hostBuilder As IWebHostBuilder, configureApp As Action(Of WebHostBuilderContext, IApplicationBuilder)) As IWebHostBuilder

Parameters

configureApp
Action<WebHostBuilderContext,IApplicationBuilder>

The delegate that configures the IApplicationBuilder.

Returns

Applies to