6 references to AfterEndpointsAllocatedEvent
Aspire.Hosting (3)
ApplicationModel\AfterEndpointsAllocatedEvent.cs (1)
19/// Subscribe to the <see cref="AfterEndpointsAllocatedEvent"/> event and resolve the distributed application model.
DistributedApplication.cs (2)
623if (eventing is DistributedApplicationEventing { } eventingImpl && eventingImpl.HasSubscriptions<AfterEndpointsAllocatedEvent>()) 625logger.LogWarning("{EventName} is obsolete and is no longer raised by the DCP executor. Use {ResourceEventName} to observe per-resource endpoint allocation.", nameof(AfterEndpointsAllocatedEvent), nameof(ResourceEndpointsAllocatedEvent));
Aspire.Hosting.Tests (3)
Eventing\DistributedApplicationBuilderEventingTests.cs (3)
244builder.Eventing.Subscribe<AfterEndpointsAllocatedEvent>((e, ct) => 281builder.Eventing.Subscribe<AfterEndpointsAllocatedEvent>((e, ct) => Task.CompletedTask); 290w.Message?.Contains(nameof(AfterEndpointsAllocatedEvent), StringComparison.Ordinal) == true &&