WebHostBuilderKestrelExtensions.UseKestrel Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
UseKestrel(IWebHostBuilder) |
Kestrel'i web konağı tarafından kullanılacak sunucu olarak belirtin. |
UseKestrel(IWebHostBuilder, Action<WebHostBuilderContext,KestrelServerOptions>) |
Kestrel'i web konağı tarafından kullanılacak sunucu olarak belirtin. |
UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>) |
Kestrel'i web konağı tarafından kullanılacak sunucu olarak belirtin. |
UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>) |
Kestrel'i web konağı tarafından kullanılacak sunucu olarak belirtin. |
UseKestrel(IWebHostBuilder)
Kestrel'i web konağı tarafından kullanılacak sunucu olarak belirtin.
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
Parametreler
- hostBuilder
- IWebHostBuilder
Yapılandırılan Microsoft.AspNetCore.Hosting.IWebHostBuilder.
Döndürülenler
The Microsoft.AspNetCore.Hosting.IWebHostBuilder.
Şunlara uygulanır
UseKestrel(IWebHostBuilder, Action<WebHostBuilderContext,KestrelServerOptions>)
Kestrel'i web konağı tarafından kullanılacak sunucu olarak belirtin.
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
Parametreler
- hostBuilder
- IWebHostBuilder
Yapılandırılan Microsoft.AspNetCore.Hosting.IWebHostBuilder.
- configureOptions
- Action<WebHostBuilderContext,KestrelServerOptions>
Kestrel seçeneklerini yapılandırmak için geri çağırma.
Döndürülenler
The Microsoft.AspNetCore.Hosting.IWebHostBuilder.
Şunlara uygulanır
UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>)
Kestrel'i web konağı tarafından kullanılacak sunucu olarak belirtin.
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
Parametreler
- hostBuilder
- IWebHostBuilder
Yapılandırılan Microsoft.AspNetCore.Hosting.IWebHostBuilder.
- options
- Action<KestrelServerOptions>
Kestrel seçeneklerini yapılandırmak için geri çağırma.
Döndürülenler
The Microsoft.AspNetCore.Hosting.IWebHostBuilder.
Şunlara uygulanır
UseKestrel(IWebHostBuilder, Action<KestrelServerOptions>)
Kestrel'i web konağı tarafından kullanılacak sunucu olarak belirtin.
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
Parametreler
- hostBuilder
- IWebHostBuilder
Yapılandırılan Microsoft.AspNetCore.Hosting.IWebHostBuilder.
- options
- Action<KestrelServerOptions>
Kestrel seçeneklerini yapılandırmak için geri çağırma.
Döndürülenler
The Microsoft.AspNetCore.Hosting.IWebHostBuilder.
Şunlara uygulanır
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin