WebHostBuilderExtensions.UseTestServer Methode

Definition

Überlädt

UseTestServer(IWebHostBuilder)

Aktiviert den TestServer Dienst.

UseTestServer(IWebHostBuilder, Action<TestServerOptions>)

Aktiviert den TestServer Dienst.

UseTestServer(IWebHostBuilder)

Quelle:
WebHostBuilderExtensions.cs
Quelle:
WebHostBuilderExtensions.cs
Quelle:
WebHostBuilderExtensions.cs
Quelle:
WebHostBuilderExtensions.cs
Quelle:
WebHostBuilderExtensions.cs
Quelle:
WebHostBuilderExtensions.cs
Quelle:
WebHostBuilderExtensions.cs

Aktiviert den TestServer Dienst.

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

Parameter

Gibt zurück

Die IWebHostBuilder.

Gilt für:

UseTestServer(IWebHostBuilder, Action<TestServerOptions>)

Quelle:
WebHostBuilderExtensions.cs
Quelle:
WebHostBuilderExtensions.cs
Quelle:
WebHostBuilderExtensions.cs
Quelle:
WebHostBuilderExtensions.cs

Aktiviert den TestServer Dienst.

public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseTestServer (this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, Action<Microsoft.AspNetCore.TestHost.TestServerOptions> configureOptions);
static member UseTestServer : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.TestHost.TestServerOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseTestServer (builder As IWebHostBuilder, configureOptions As Action(Of TestServerOptions)) As IWebHostBuilder

Parameter

configureOptions
Action<TestServerOptions>

Konfiguriert Testserveroptionen

Gibt zurück

Die IWebHostBuilder.

Gilt für: