WebHostBuilderIISExtensions Class

Namespace
Microsoft.AspNetCore.Hosting
Assemblies
  • Microsoft.AspNetCore.Server.IISIntegration

Syntax

public class WebHostBuilderIISExtensions
class Microsoft.AspNetCore.Hosting.WebHostBuilderIISExtensions

Methods

UseIISIntegration(Microsoft.AspNetCore.Hosting.IWebHostBuilder)

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.

Return type:Microsoft.AspNetCore.Hosting.IWebHostBuilder
public static IWebHostBuilder UseIISIntegration(this IWebHostBuilder app)