WebHostBuilderKestrelExtensions.UseKestrel Metoda

Definice

Přetížení

UseKestrel(IWebHostBuilder)

Jako server, který má webový hostitel používat, zadejte Kestrel.

UseKestrel(IWebHostBuilder, Action<WebHostBuilderContext,KestrelServerOptions>)

Jako server, který má webový hostitel používat, zadejte Kestrel.

UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>)

Jako server, který má webový hostitel používat, zadejte Kestrel.

UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>)

Jako server, který má webový hostitel používat, zadejte Kestrel.

UseKestrel(IWebHostBuilder)

Zdroj:
WebHostBuilderKestrelExtensions.cs
Zdroj:
WebHostBuilderKestrelExtensions.cs
Zdroj:
WebHostBuilderKestrelExtensions.cs

Jako server, který má webový hostitel používat, zadejte 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

Parametry

hostBuilder
IWebHostBuilder

Microsoft.AspNetCore.Hosting.IWebHostBuilder ke konfiguraci.

Návraty

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Platí pro

UseKestrel(IWebHostBuilder, Action<WebHostBuilderContext,KestrelServerOptions>)

Zdroj:
WebHostBuilderKestrelExtensions.cs
Zdroj:
WebHostBuilderKestrelExtensions.cs
Zdroj:
WebHostBuilderKestrelExtensions.cs

Jako server, který má webový hostitel používat, zadejte 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

Parametry

hostBuilder
IWebHostBuilder

Microsoft.AspNetCore.Hosting.IWebHostBuilder ke konfiguraci.

configureOptions
Action<WebHostBuilderContext,KestrelServerOptions>

Zpětné volání pro konfiguraci možností Kestrel.

Návraty

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Platí pro

UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>)

Zdroj:
WebHostBuilderKestrelExtensions.cs
Zdroj:
WebHostBuilderKestrelExtensions.cs
Zdroj:
WebHostBuilderKestrelExtensions.cs

Jako server, který má webový hostitel používat, zadejte 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

Parametry

hostBuilder
IWebHostBuilder

Microsoft.AspNetCore.Hosting.IWebHostBuilder ke konfiguraci.

options
Action<KestrelServerOptions>

Zpětné volání pro konfiguraci možností Kestrel.

Návraty

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Platí pro

UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>)

Jako server, který má webový hostitel používat, zadejte 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

Parametry

hostBuilder
IWebHostBuilder

Microsoft.AspNetCore.Hosting.IWebHostBuilder ke konfiguraci.

options
Action<KestrelServerOptions>

Zpětné volání pro konfiguraci možností Kestrel.

Návraty

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Platí pro