Skip to content
Docs Try Aspire
Docs Try

ResourceUrlsCallbackContext

Handle
📦 Aspire.Hosting v13.4.0
interface ResourceUrlsCallbackContext {
readonly executionContext: DistributedApplicationExecutionContext;
readonly log: LogFacade;
readonly resource: IResource;
readonly urls: ResourceUrlsEditor;
getEndpoint(name: string): EndpointReference;
}

Properties

property executionContext DistributedApplicationExecutionContext get
Gets the execution context associated with this invocation of the AppHost.
property log LogFacade get
Gets the logger facade used by polyglot callbacks.
property resource IResource get
Gets the resource this the URLs are associated with.
property urls ResourceUrlsEditor get
Gets the editor used to manipulate displayed URLs in polyglot callbacks.

Methods

Gets an endpoint reference from the associated resource
getEndpoint(name: string): EndpointReference
name string
EndpointReference