Summary
In this chapter, we introduced the state management API provided by Dapr and learned how an ASP.NET service can leverage it via the .NET SDK.
We also appreciated the flexibility offered by Dapr to developers and operators in terms of configuring and modifying the state stores.
By testing the Dapr state management with local Redis and then with the cloud-based Azure Cosmos DB, we proved how easy it is not only to move the state outside of a stateful microservice but also to shift from one persistence technology to another simply via a configuration change.
In the next chapter, we will discuss a flexible and scalable approach to communicating between Dapr applications.