Skip to content
Docs Try Aspire
Docs Try

PipelineStepContext

Handle
📦 Aspire.Hosting v13.4.0
interface PipelineStepContext {
readonly cancellationToken: cancellationToken;
readonly executionContext: DistributedApplicationExecutionContext;
readonly logger: ILogger;
readonly model: DistributedApplicationModel;
readonly pipelineContext: PipelineContext;
readonly reportingStep: IReportingStep;
readonly services: IServiceProvider;
readonly summary: PipelineSummary;
}

Properties

property cancellationToken cancellationToken get
Gets the cancellation token for the pipeline operation.
property executionContext DistributedApplicationExecutionContext get
Gets the execution context for the distributed application.
property logger ILogger get
Gets the logger for pipeline operations that writes to both the pipeline logger and the step logger.
property model DistributedApplicationModel get
Gets the distributed application model to be deployed.
property pipelineContext PipelineContext get
Gets the pipeline context shared across all steps.
property reportingStep IReportingStep get
Gets the publishing step associated with this specific step execution.
property services IServiceProvider get
Gets the service provider for dependency resolution.
property summary PipelineSummary get
Gets the pipeline summary that steps can add information to. The summary will be displayed to users after pipeline execution completes.