Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ResourceUrlsCallbackContext

Handle
📦 Aspire.Hosting v17.0.0

Represents a callback context for resource URLs.

type ResourceUrlsCallbackContext interface{}

Properties

propertyExecutionContextDistributedApplicationExecutionContextget
Gets the execution context associated with this invocation of the AppHost.
ExecutionContext() DistributedApplicationExecutionContext
propertyLogLogFacadeget
Gets the logger facade used by polyglot callbacks.
Log() LogFacade
propertyResourceResourceget
Gets the resource this the URLs are associated with.
Resource() Resource
propertyUrlsResourceUrlsEditorget
Gets the editor used to manipulate displayed URLs in polyglot callbacks.
Urls() ResourceUrlsEditor

Methods

Gets an endpoint reference from the associated resource
GetEndpoint(name string) EndpointReference
namestringThe name of the endpoint.
EndpointReference

Returns a handle; failures surface later via Err().