WebHostBuilderIISExtensions Class

Definition

Extension methods for the IIS Out-Of-Process.

C#
public static class WebHostBuilderIISExtensions
Inheritance
WebHostBuilderIISExtensions

Methods

UseIIS(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.

UseIISIntegration(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.

Applies to

Produk Versi
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0