GenericHostWebHostBuilderExtensions.ConfigureWebHost 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
ConfigureWebHost(IHostBuilder, Action<IWebHostBuilder>) |
bir ASP.NET Core web uygulaması ekler ve yapılandırılır. |
ConfigureWebHost(IHostBuilder, Action<IWebHostBuilder>, Action<WebHostBuilderOptions>) |
bir ASP.NET Core web uygulaması ekler ve yapılandırılır. |
ConfigureWebHost(IHostBuilder, Action<IWebHostBuilder>)
bir ASP.NET Core web uygulaması ekler ve yapılandırılır.
public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureWebHost (this Microsoft.Extensions.Hosting.IHostBuilder builder, Action<Microsoft.AspNetCore.Hosting.IWebHostBuilder> configure);
static member ConfigureWebHost : Microsoft.Extensions.Hosting.IHostBuilder * Action<Microsoft.AspNetCore.Hosting.IWebHostBuilder> -> Microsoft.Extensions.Hosting.IHostBuilder
<Extension()>
Public Function ConfigureWebHost (builder As IHostBuilder, configure As Action(Of IWebHostBuilder)) As IHostBuilder
Parametreler
- builder
- IHostBuilder
IHostBuilder eklenecek.IWebHostBuilder
- configure
- Action<IWebHostBuilder>
öğesini yapılandıran IWebHostBuildertemsilci.
Döndürülenler
Şunlara uygulanır
ConfigureWebHost(IHostBuilder, Action<IWebHostBuilder>, Action<WebHostBuilderOptions>)
bir ASP.NET Core web uygulaması ekler ve yapılandırılır.
public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureWebHost (this Microsoft.Extensions.Hosting.IHostBuilder builder, Action<Microsoft.AspNetCore.Hosting.IWebHostBuilder> configure, Action<Microsoft.Extensions.Hosting.WebHostBuilderOptions> configureWebHostBuilder);
static member ConfigureWebHost : Microsoft.Extensions.Hosting.IHostBuilder * Action<Microsoft.AspNetCore.Hosting.IWebHostBuilder> * Action<Microsoft.Extensions.Hosting.WebHostBuilderOptions> -> Microsoft.Extensions.Hosting.IHostBuilder
<Extension()>
Public Function ConfigureWebHost (builder As IHostBuilder, configure As Action(Of IWebHostBuilder), configureWebHostBuilder As Action(Of WebHostBuilderOptions)) As IHostBuilder
Parametreler
- builder
- IHostBuilder
IHostBuilder eklenecek.IWebHostBuilder
- configure
- Action<IWebHostBuilder>
öğesini yapılandıran IWebHostBuildertemsilci.
- configureWebHostBuilder
- Action<WebHostBuilderOptions>
öğesini yapılandıran WebHostBuilderOptionstemsilci.
Döndürülenler
Ş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