Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

ResourceEndpointsAllocatedEvent Constructors

ClassConstructors1 member
This event is raised by orchestrators to signal to resources that their endpoints have been allocated.
Constructor(IResource, IServiceProvider)Section titled Constructor(IResource, IServiceProvider)
This event is raised by orchestrators to signal to resources that their endpoints have been allocated.
public class ResourceEndpointsAllocatedEvent
{
public ResourceEndpointsAllocatedEvent(
IResource resource,
IServiceProvider services)
{
// ...
}
}
resourceIResource
servicesIServiceProvider
Any resources that customize their URLs via a ResourceUrlsCallbackAnnotation will have their callbacks invoked during this event.