WebHostBuilderKestrelExtensions.UseKestrelHttpsConfiguration 메서드

정의

시나리오에서는 UseKestrelCore(IWebHostBuilder) 특정 HTTPS 기능을 명시적으로 옵트인해야 할 수 있습니다. 예를 들어 주소 UseKestrelHttpsConfiguration(IWebHostBuilder)https:// 포함된 경우 ASPNETCORE_URLS 는 해당 엔드포인트에서 HTTPS 구성을 사용하도록 설정합니다.

시나리오에는 UseKestrel(IWebHostBuilder) 영향을 주지 않습니다.

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

매개 변수

hostBuilder
IWebHostBuilder

구성할 Microsoft.AspNetCore.Hosting.IWebHostBuilder입니다.

반환

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

적용 대상