Skip to content
Docs Try Aspire

DistributedApplicationExecutionContextOptions Properties

Class Properties 3 members
Configuration options and references that need to be exposed to the DistributedApplicationExecutionContext.
The operation currently being performed by the AppHost.
public DistributedApplicationOperation Operation { get; }
PublisherName Section titled PublisherName nullable string?
The name of the publisher if running in publish mode.
public string? PublisherName { get; }
ServiceProvider Section titled ServiceProvider nullable IServiceProvider?
The IServiceProvider for the AppHost.
public IServiceProvider? ServiceProvider { get; set; }