Skip to content
Docs Try Aspire
Docs Try

getEndpoint

Method
📦 Aspire.Hosting.Testing v13.3.0
interface DistributedApplication {
// ... omitted for brevity
getEndpoint(
resourceName: string,
endpointName?: string): uri;
}

Signature

method getEndpoint
Gets the endpoint for the specified resource.
getEndpoint(
resourceName: string,
endpointName?: string): uri
resourceName string
endpointName string optional
uri

Applies to

This method applies to the following types: