Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

BeforeResourceStartedEvent

Handle
📦 Aspire.Hosting v17.0.0

This event is raised by orchestrators before they have started a new resource.

type BeforeResourceStartedEvent interface {
DistributedApplicationEvent
DistributedApplicationResourceEvent
}

Properties

propertyResourceResourceget
Gets the Resource property
Resource() Resource
propertyServicesServiceProviderget
Gets the Services property
Services() ServiceProvider