DistributedApplicationExecutionContext
Classnet10.0
Exposes the global contextual information for this invocation of the AppHost.
namespace Aspire.Hosting;
public class DistributedApplicationExecutionContext{ // ...}10 members
Constructors3
Section titled Constructors Constructs a
DistributedApplicationExecutionContext without a callback to retrieve the IServiceProvider . Constructs a
DistributedApplicationExecutionContext without a callback to retrieve the IServiceProvider . Constructs a
DistributedApplicationExecutionContext with a callback to retrieve the IServiceProvider . Properties7
Section titled PropertiesPublisherName get; setstring The name of the publisher that is being used if
DistributedApplicationExecutionContext.Operation is set to DistributedApplicationOperation.Publish . Describes how the AppHost is being run. Only meaningful when
DistributedApplicationExecutionContext.Operation is DistributedApplicationOperation.Run ; otherwise every aspect holds its default value.