# DeploymentStateSection Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [DeploymentStateSection](/reference/api/csharp/aspire.hosting/deploymentstatesection.md)
- Kind: `Properties`
- Members: `3`

Represents a section of deployment state with version tracking for concurrency control.

## Data

- Name: `Data`
- Modifiers: `get`
- Returns: `JsonObject`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/Pipelines/DeploymentStateSection.cs#L38)

Gets the data stored in this section.

```csharp
public JsonObject Data { get; }
```

## Remarks

The `Nodes.JsonObject` returned by this property is NOT thread-safe. Users should implement their own synchronization if concurrent access is required.

## SectionName

- Name: `SectionName`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/Pipelines/DeploymentStateSection.cs#L29)

Gets the name of the state section.

```csharp
public string SectionName { get; }
```

## Version

- Name: `Version`
- Modifiers: `get; set`
- Returns: `long`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/Pipelines/DeploymentStateSection.cs)

Gets or sets the current version of this section.

```csharp
public long Version { get; set; }
```

## Remarks

This version is automatically incremented by [IDeploymentStateManager.SaveSectionAsync(DeploymentStateSection, CancellationToken)](/reference/api/csharp/aspire.hosting/ideploymentstatemanager/methods.md#savesectionasync-deploymentstatesection-cancellationtoken) after a successful save, allowing multiple saves of the same section instance.
