IDeploymentStateManager
Interface net10.0
Provides deployment state management functionality.
namespace Aspire.Hosting.Pipelines;
public interface IDeploymentStateManager{ // ...}Properties1
Section titled PropertiesMethods2
Section titled MethodsAcquireSectionAsync(string, CancellationToken)abstract Acquires a specific section of the deployment state with version tracking for concurrency control. The returned section is an immutable snapshot of the data at the time of acquisition.
SaveSectionAsync(DeploymentStateSection, CancellationToken)abstractTask Saves a section of deployment state with optimistic concurrency control. The section must have a matching version number or a concurrency exception will be thrown.