Skip to content
Docs Try Aspire

PipelineStepContext

Class sealed net8.0
📦 Aspire.Hosting v13.2.0
Provides contextual information for a specific pipeline step execution.
namespace Aspire.Hosting.Pipelines;
public sealed class PipelineStepContext
{
// ...
}
This context combines the shared pipeline context with a step-specific publishing step, allowing each step to track its own tasks and completion state independently.
View all constructors
CancellationTokenget
CancellationToken
Gets the cancellation token for the pipeline operation.
ExecutionContextget
Gets the execution context for the distributed application.
Loggerget
ILogger
Gets the logger for pipeline operations that writes to both the pipeline logger and the step logger.
Modelget
Gets the distributed application model to be deployed.
PipelineContextget; init
Gets the pipeline context shared across all steps.
ReportingStepget; init
Gets the publishing step associated with this specific step execution.
Servicesget
IServiceProvider
Gets the service provider for dependency resolution.
Summaryget
Gets the pipeline summary that steps can add information to. The summary will be displayed to users after pipeline execution completes.
View all properties