WebHostBuilderExtensions.Configure(IWebHostBuilder, Action<IApplicationBuilder>) WebHostBuilderExtensions.Configure(IWebHostBuilder, Action<IApplicationBuilder>) WebHostBuilderExtensions.Configure(IWebHostBuilder, Action<IApplicationBuilder>) Method

Definition

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

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

Applies to