Skip to main content

Definition

Assembly: CloudNimble.Breakdance.AspNetCore.dll Namespace: CloudNimble.Breakdance.AspNetCore Inheritance: System.Object

Syntax

Summary

Helper methods for creating testable resources for AspNetCore.

Methods

GetTestableHttpServer

Gets a new TestServer with default services.

Syntax

Returns

Type: Microsoft.AspNetCore.TestHost.TestServer

GetTestableHttpServer

Gets a new TestServer with the provided service registration.

Syntax

Parameters

Returns

Type: Microsoft.AspNetCore.TestHost.TestServer

GetTestableHttpServer

Gets a new TestServer with the provided service registration and application builder.

Syntax

Parameters

Returns

Type: Microsoft.AspNetCore.TestHost.TestServer

GetTestableHttpServer

Gets a new TestServer with the provided service registration, application builder and configuration builder.

Syntax

Parameters

Returns

Type: Microsoft.AspNetCore.TestHost.TestServer

GetTestableHttpServerAsync

Gets a new TestServer with default services asynchronously.

Syntax

Returns

Type: System.Threading.Tasks.Task<Microsoft.AspNetCore.TestHost.TestServer>

GetTestableHttpServerAsync

Gets a new TestServer with the provided service registration asynchronously.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task<Microsoft.AspNetCore.TestHost.TestServer>

GetTestableHttpServerAsync

Gets a new TestServer with the provided service registration and application builder asynchronously.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task<Microsoft.AspNetCore.TestHost.TestServer>

GetTestableHttpServerAsync

Gets a new TestServer with the provided service registration, application builder and configuration builder asynchronously.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task<Microsoft.AspNetCore.TestHost.TestServer>