# PipelineConfigurationContext

- Kind: `class`
- 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/PipelineConfigurationContext.cs)

Provides contextual information for pipeline configuration callbacks.

## Definition

```csharp
namespace Aspire.Hosting.Pipelines;

public class PipelineConfigurationContext
{
    // ...
}
```

## ATS metadata

### ATS export

- Type ID: `Aspire.Hosting/PipelineConfigurationContext`

## Constructors

- [PipelineConfigurationContext](/reference/api/csharp/aspire.hosting/pipelineconfigurationcontext/constructors.md#constructor)

## Properties

- [Model](/reference/api/csharp/aspire.hosting/pipelineconfigurationcontext/properties.md#model) : [DistributedApplicationModel](/reference/api/csharp/aspire.hosting/distributedapplicationmodel.md) `get; init` -- Gets the distributed application model containing all resources.
- [Services](/reference/api/csharp/aspire.hosting/pipelineconfigurationcontext/properties.md#services) : `IServiceProvider` `get; init` -- Gets the service provider for dependency resolution.
- [Steps](/reference/api/csharp/aspire.hosting/pipelineconfigurationcontext/properties.md#steps) : [IReadOnlyList<PipelineStep>](/reference/api/csharp/aspire.hosting/pipelinestep.md) `get; init` -- Gets the list of pipeline steps collected during the first pass.

## Methods

- [GetSteps(string)](/reference/api/csharp/aspire.hosting/pipelineconfigurationcontext/methods.md#getsteps-string) : [IEnumerable<PipelineStep>](/reference/api/csharp/aspire.hosting/pipelinestep.md) `ats export` -- Gets all pipeline steps with the specified tag.
- [GetSteps(IResource)](/reference/api/csharp/aspire.hosting/pipelineconfigurationcontext/methods.md#getsteps-iresource) : [IEnumerable<PipelineStep>](/reference/api/csharp/aspire.hosting/pipelinestep.md) `ats ignored` -- Gets all pipeline steps associated with the specified resource.
- [GetSteps(IResource, string)](/reference/api/csharp/aspire.hosting/pipelineconfigurationcontext/methods.md#getsteps-iresource-string) : [IEnumerable<PipelineStep>](/reference/api/csharp/aspire.hosting/pipelinestep.md) `ats ignored` -- Gets all pipeline steps with the specified tag that are associated with the specified resource.
