Skip to content
Docs Try Aspire

IDistributedApplicationEventingSubscriber

Interface net10.0
📦 Aspire.Hosting v13.1.2
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
{
// ...
}