The documentation you are viewing is for Dapr v1.12 which is an older version of Dapr. For up-to-date documentation, see the latest version.

State management

State management overview

Overview of the state management API building block

How-To: Save and get state

Use key value pairs to persist a state

How-To: Query state

Use the Query API for querying state stores

How-To: Build a stateful service

Use state management with a scaled, replicated service

How-To: Enable the transactional outbox pattern

Commit a single transaction across a state store and pub/sub message broker

How-To: Share state between applications

Learn the strategies for sharing state between different applications

How-To: Encrypt application state

Automatically encrypt state and manage key rotations

Work with backend state stores

Guides for working with specific backend states stores

State Time-to-Live (TTL)

Manage state with TTL.