# IDistributedApplicationPipeline

- Kind: `interface`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.3.0`
- Namespace: `Aspire.Hosting.Pipelines`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/Pipelines/IDistributedApplicationPipeline.cs)

Represents a pipeline for executing deployment steps in a distributed application.

## Definition

```csharp
namespace Aspire.Hosting.Pipelines;

public interface IDistributedApplicationPipeline
{
    // ...
}
```

## Methods

- [AddPipelineConfiguration(Func<PipelineConfigurationContext, Task>)](/reference/api/csharp/aspire.hosting/idistributedapplicationpipeline/methods.md#addpipelineconfiguration-func-pipelineconfigurationcontext-task) `abstract` -- Registers a callback to be executed during the pipeline configuration phase.
- [AddStep(string, Func<PipelineStepContext, Task>, object?, object?)](/reference/api/csharp/aspire.hosting/idistributedapplicationpipeline/methods.md#addstep-string-func-pipelinestepcontext-task-object-object) `abstract` -- Adds a deployment step to the pipeline.
- [AddStep(PipelineStep)](/reference/api/csharp/aspire.hosting/idistributedapplicationpipeline/methods.md#addstep-pipelinestep) `abstract` -- Adds a deployment step to the pipeline.
- [ExecuteAsync(PipelineContext)](/reference/api/csharp/aspire.hosting/idistributedapplicationpipeline/methods.md#executeasync-pipelinecontext) : `Task` `abstract` -- Executes all steps in the pipeline in dependency order.
