IDistributedApplicationLifecycleHook
Interfacenet10.0
Defines an interface for hooks that are executed during the lifecycle of a distributed application.
namespace Aspire.Hosting.Lifecycle;
public interface IDistributedApplicationLifecycleHook{ // ...}Methods3
Section titled MethodsTask Executes after the orchestrator allocates endpoints for resources in the application model.
Task Executes after the orchestrator has created the resources in the application model.
Task Executes before the distributed application starts.