Skip to content
Docs Try Aspire

getEndpoint

Function
📦 Aspire.Hosting.Testing v13.2.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 function is an extension method on the following types: