WebHostBuilderIISExtensions.UseIISIntegration(IWebHostBuilder) Method

Definition

Configures the port and base path the server should listen on when running behind AspNetCoreModule. The app will also be configured to capture startup errors.

public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseIISIntegration (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder);
static member UseIISIntegration : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseIISIntegration (hostBuilder As IWebHostBuilder) As IWebHostBuilder

Parameters

hostBuilder
IWebHostBuilder

Returns

Applies to