共用方式為


DistributedApplicationHostingTestingExtensions Class

Definition

Extensions for working with DistributedApplication in test code.

public static class DistributedApplicationHostingTestingExtensions
type DistributedApplicationHostingTestingExtensions = class
Public Module DistributedApplicationHostingTestingExtensions
Inheritance
DistributedApplicationHostingTestingExtensions

Methods

CreateHttpClient(DistributedApplication, String, String)

Creates an HttpClient configured to communicate with the specified resource.

GetConnectionStringAsync(DistributedApplication, String, CancellationToken)

Gets the connection string for the specified resource.

GetEndpoint(DistributedApplication, String, String)

Gets the endpoint for the specified resource.

Applies to