Skip to content
DocsTry Aspire
DocsTry

IDistributedApplicationEventingSubscriber

Interfacenet8.0
📦 Aspire.Hosting v13.4.0
Defines an interface for services that want to subscribe to events from IDistributedApplicationEventing. This allows a service to subscribe to BeforeStartEvent before the application actually starts.
namespace Aspire.Hosting.Lifecycle;
public interface IDistributedApplicationEventingSubscriber
{
// ...
}