METHOD

UseTestServer()

Configures the test server for an ASP.NET Core web host.

Formal Syntax & Structure

csharp syntaxcsharp
builder.WebHost.UseTestServer()

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.builder.WebHost.UseTestServer()
C# & .NET Reference