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 bindings building block

The bindings building block

- [Instructor] In cloud-native applications or those being modernized, we frequently encounter the need to integrate external systems or platforms, either for interoperability between technologies or for the execution of workflows. Dapr includes the bindings building block, which aims to perform these tasks in a decoupled way and without hassle. We'll find two types of bindings in this building block, input bindings and output bindings. Let's start by explaining the input bindings. These behave like triggers. That is, functions that get executed in response to binding. You'll find many similarities with this building block if you've previously used Azure functions or any other functions as a service technology. Keep in mind that the Dapr sidecar reacts to the input binding, not our application. In other words, the sidecar's the one that responds to such an event and is responsible for invoking the code that we've indicated. The output bindings are based on a similar concept. In this…

Contents