Skip to content
Docs Try Aspire
Docs Try

ResourceUrlsCallbackContext

Handle
📦 Aspire.Hosting v13.3.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 for this callback invocation
property log LogFacade get
Gets the callback logger facade
property resource IResource get
Gets the resource associated with these URLs
property urls ResourceUrlsEditor get
Gets the URL editor

Methods

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