Skip to content
DocsTry Aspire
DocsTry

DistributedApplicationExecutionContextOptions Properties

ClassProperties3 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; }
PublisherNameSection titled PublisherNamenullablestring?
The name of the publisher if running in publish mode.
public string? PublisherName { get; }
ServiceProviderSection titled ServiceProvidernullableIServiceProvider?
The IServiceProvider for the AppHost.
public IServiceProvider? ServiceProvider { get; set; }