Skip to content
DocsTry Aspire
DocsTry

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

propertyexecutionContextDistributedApplicationExecutionContextget
Gets the execution context associated with this invocation of the AppHost.
propertylogLogFacadeget
Gets the logger facade used by polyglot callbacks.
propertyresourceIResourceget
Gets the resource this the URLs are associated with.
propertyurlsResourceUrlsEditorget
Gets the editor used to manipulate displayed URLs in polyglot callbacks.

Methods

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