Skip to content
Docs Try Aspire
Docs Try

getEndpointForNetworkExport

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

Signature

method getEndpointForNetworkExport
Gets the endpoint for the specified resource in the specified network context.
getEndpointForNetworkExport(
resourceName: string,
networkIdentifier?: string,
endpointName?: string): uri
resourceName string
networkIdentifier string optional
endpointName string optional
uri

Applies to

This method applies to the following types: