Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

ResourceUrlsEditor

Handle
📦 Aspire.Hosting v13.6.0
interface ResourceUrlsEditor {
readonly executionContext: DistributedApplicationExecutionContext;
add(
url: string | ReferenceExpression,
displayText?: string): void;
addForEndpoint(
endpoint: EndpointReference,
url: string | ReferenceExpression,
displayText?: string): void;
}

Properties

propertyexecutionContextDistributedApplicationExecutionContextget
Gets the execution context associated with this editor.

Methods

methodadd
Adds a displayed URL.
add(
url: string | ReferenceExpression,
displayText?: string): void
urlstring | ReferenceExpression
displayTextstringoptional
Adds a displayed URL for a specific endpoint.
addForEndpoint(
endpoint: EndpointReference,
url: string | ReferenceExpression,
displayText?: string): void
endpointEndpointReference
urlstring | ReferenceExpression
displayTextstringoptional