WebApplicationBuilder.WebHost 属性

定义

IWebHostBuilder用于配置服务器特定属性但不生成的。 若要在配置后生成,请调用 Build()

public Microsoft.AspNetCore.Builder.ConfigureWebHostBuilder WebHost { get; }
member this.WebHost : Microsoft.AspNetCore.Builder.ConfigureWebHostBuilder
Public ReadOnly Property WebHost As ConfigureWebHostBuilder

属性值

ConfigureWebHostBuilder

适用于