ResourceEndpointsAllocatedEvent
Classnet10.0
This event is raised by orchestrators to signal to resources that their endpoints have been allocated.
namespace Aspire.Hosting.ApplicationModel;
public class ResourceEndpointsAllocatedEvent : Aspire.Hosting.Eventing.IDistributedApplicationEvent, Aspire.Hosting.Eventing.IDistributedApplicationResourceEvent{ // ...}Remarks
Section titled Remarks Resources that customize their URLs via a
ResourceUrlsCallbackAnnotation have their callbacks invoked before event handlers run. Browser URL references contain the finalized values at that point. Endpoint and URL configuration must be registered before this event is published. Browser-facing resource allocators should complete allocation through DistributedApplicationEventingExtensions.PublishResourceEndpointsAllocatedAsync so URL customization completes before the notification is dispatched. Constructors1
Section titled Constructors This event is raised by orchestrators to signal to resources that their endpoints have been allocated.
Properties2
Section titled PropertiesView all properties