Skip to content
Docs Try Aspire

DeploymentStateSection Properties

Class Properties 3 members
Represents a section of deployment state with version tracking for concurrency control.
Data Section titled Data JsonObject
Gets the data stored in this section.
public JsonObject Data { get; }
The Nodes.JsonObject returned by this property is NOT thread-safe. Users should implement their own synchronization if concurrent access is required.
SectionName Section titled SectionName string
Gets the name of the state section.
public string SectionName { get; }
Gets or sets the current version of this section.
public long Version { get; set; }
This version is automatically incremented by IDeploymentStateManager.SaveSectionAsync after a successful save, allowing multiple saves of the same section instance.