From the course: Complete Guide to Dapr for .NET and Azure Developers: Building and Managing Microservices

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

The configuration building block

The configuration building block

- [Instructor] Sooner or later, we need to face the challenge of implementing a configuration mechanism for our applications. Thankfully, Dapr includes a configuration building block that allows us to do that. As with any other building block, our application uses the Dapr sidecar to communicate to the concrete component that has been chosen as a configuration storage. The configuration building block allows us to store and retrieve configuration items and subscribe to changes whenever one of those configuration items changes. In the configuration endpoint, we'll find all the functionality the configuration building block exposes. We can invoke this endpoint directly or use the Dapr SDK as we'll do in this chapter.

Contents