Dela via


ISupportsStartup.Configure Method

Definition

Overloads

Configure(Action<IApplicationBuilder>)

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

Configure(Action<WebHostBuilderContext,IApplicationBuilder>)

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

Configure(Action<IApplicationBuilder>)

Source:
ISupportsStartup.cs

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

public Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure (Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configure);
abstract member Configure : Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Public Function Configure (configure As Action(Of IApplicationBuilder)) As IWebHostBuilder

Parameters

configure
Action<IApplicationBuilder>

The delegate that configures the IApplicationBuilder.

Returns

The IWebHostBuilder.

Applies to

Configure(Action<WebHostBuilderContext,IApplicationBuilder>)

Source:
ISupportsStartup.cs

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

public Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure (Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext,Microsoft.AspNetCore.Builder.IApplicationBuilder> configure);
abstract member Configure : Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Public Function Configure (configure As Action(Of WebHostBuilderContext, IApplicationBuilder)) As IWebHostBuilder

Parameters

configure
Action<WebHostBuilderContext,IApplicationBuilder>

The delegate that configures the IApplicationBuilder.

Returns

The IWebHostBuilder.

Applies to