Compartir a través de


ISupportsConfigureWebHost.ConfigureWebHost Método

Definición

Agrega y configura una aplicación web ASP.NET Core.

public Microsoft.Extensions.Hosting.IHostBuilder ConfigureWebHost (Action<Microsoft.AspNetCore.Hosting.IWebHostBuilder> configure, Action<Microsoft.Extensions.Hosting.WebHostBuilderOptions> configureOptions);
abstract member ConfigureWebHost : Action<Microsoft.AspNetCore.Hosting.IWebHostBuilder> * Action<Microsoft.Extensions.Hosting.WebHostBuilderOptions> -> Microsoft.Extensions.Hosting.IHostBuilder
Public Function ConfigureWebHost (configure As Action(Of IWebHostBuilder), configureOptions As Action(Of WebHostBuilderOptions)) As IHostBuilder

Parámetros

configure
Action<IWebHostBuilder>

El delegado que configura IWebHostBuilder.

configureOptions
Action<WebHostBuilderOptions>

El delegado que configura WebHostBuilderOptions.

Devoluciones

IHostBuilder.

Se aplica a