WebHostBuilderKestrelExtensions.UseKestrel 메서드

정의

오버로드

UseKestrel(IWebHostBuilder)

웹 호스트에서 사용할 서버로 Kestrel을 지정합니다.

UseKestrel(IWebHostBuilder, Action<WebHostBuilderContext,KestrelServerOptions>)

웹 호스트에서 사용할 서버로 Kestrel을 지정합니다.

UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>)

웹 호스트에서 사용할 서버로 Kestrel을 지정합니다.

UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>)

웹 호스트에서 사용할 서버로 Kestrel을 지정합니다.

UseKestrel(IWebHostBuilder)

웹 호스트에서 사용할 서버로 Kestrel을 지정합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseKestrel(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseKestrel (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder);
static member UseKestrel : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseKestrel (hostBuilder As IWebHostBuilder) As IWebHostBuilder

매개 변수

hostBuilder
IWebHostBuilder

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

반환

IWebHostBuilder

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

적용 대상

UseKestrel(IWebHostBuilder, Action<WebHostBuilderContext,KestrelServerOptions>)

웹 호스트에서 사용할 서버로 Kestrel을 지정합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseKestrel(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Hosting::WebHostBuilderContext ^, Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseKestrel (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext,Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> configureOptions);
static member UseKestrel : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseKestrel (hostBuilder As IWebHostBuilder, configureOptions As Action(Of WebHostBuilderContext, KestrelServerOptions)) As IWebHostBuilder

매개 변수

hostBuilder
IWebHostBuilder

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

configureOptions
Action<WebHostBuilderContext,KestrelServerOptions>

Kestrel 옵션을 구성하는 콜백입니다.

반환

IWebHostBuilder

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

적용 대상

UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>)

웹 호스트에서 사용할 서버로 Kestrel을 지정합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseKestrel(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Server::Kestrel::Core::KestrelServerOptions ^> ^ options);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseKestrel (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> options);
static member UseKestrel : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseKestrel (hostBuilder As IWebHostBuilder, options As Action(Of KestrelServerOptions)) As IWebHostBuilder

매개 변수

hostBuilder
IWebHostBuilder

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

options
Action<KestrelServerOptions>

Kestrel 옵션을 구성하는 콜백입니다.

반환

IWebHostBuilder

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

적용 대상

UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>)

웹 호스트에서 사용할 서버로 Kestrel을 지정합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseKestrel(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Server::Kestrel::KestrelServerOptions ^> ^ options);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseKestrel (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions> options);
static member UseKestrel : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseKestrel (hostBuilder As IWebHostBuilder, options As Action(Of KestrelServerOptions)) As IWebHostBuilder

매개 변수

hostBuilder
IWebHostBuilder

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

options
Action<KestrelServerOptions>

Kestrel 옵션을 구성하는 콜백입니다.

반환

IWebHostBuilder

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

적용 대상