WebHostBuilderExtensions.Configure Yöntem

Tanım

Aşırı Yüklemeler

Configure(IWebHostBuilder, Action<IApplicationBuilder>)

Web uygulamasını yapılandırmak için kullanılacak başlangıç yöntemini belirtin.

Configure(IWebHostBuilder, Action<WebHostBuilderContext,IApplicationBuilder>)

Web uygulamasını yapılandırmak için kullanılacak başlangıç yöntemini belirtin.

Configure(IWebHostBuilder, Action<IApplicationBuilder>)

Kaynak:
WebHostBuilderExtensions.cs
Kaynak:
WebHostBuilderExtensions.cs
Kaynak:
WebHostBuilderExtensions.cs

Web uygulamasını yapılandırmak için kullanılacak başlangıç yöntemini belirtin.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ Configure(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Builder::IApplicationBuilder ^> ^ configureApp);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configureApp);
static member Configure : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function Configure (hostBuilder As IWebHostBuilder, configureApp As Action(Of IApplicationBuilder)) As IWebHostBuilder

Parametreler

hostBuilder
IWebHostBuilder

IWebHostBuilder yapılandırılır.

configureApp
Action<IApplicationBuilder>

öğesini yapılandıran IApplicationBuildertemsilci.

Döndürülenler

IWebHostBuilder.

Şunlara uygulanır

Configure(IWebHostBuilder, Action<WebHostBuilderContext,IApplicationBuilder>)

Kaynak:
WebHostBuilderExtensions.cs

Web uygulamasını yapılandırmak için kullanılacak başlangıç yöntemini belirtin.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ Configure(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Hosting::WebHostBuilderContext ^, Microsoft::AspNetCore::Builder::IApplicationBuilder ^> ^ configureApp);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext,Microsoft.AspNetCore.Builder.IApplicationBuilder> configureApp);
static member Configure : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function Configure (hostBuilder As IWebHostBuilder, configureApp As Action(Of WebHostBuilderContext, IApplicationBuilder)) As IWebHostBuilder

Parametreler

hostBuilder
IWebHostBuilder

IWebHostBuilder yapılandırılır.

configureApp
Action<WebHostBuilderContext,IApplicationBuilder>

öğesini yapılandıran IApplicationBuildertemsilci.

Döndürülenler

IWebHostBuilder.

Şunlara uygulanır