ISupportsStartup.Configure Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.