Service-to-Service Invocation
In this chapter, we will learn how Distributed Application Runtime (Dapr) applications can communicate with each other via the Dapr infrastructure.
We are going to understand this with the following main topics:
- Invoking services with Dapr
- Service invocation with the .NET SDK
- Comparing HTTP and gRPC to Dapr
With hands-on examples, we will understand how to implement services and invoke them from other applications, which can be either aware of the presence of Dapr, as they rely on its SDK, or unaware, as they just invoke a local HTTP endpoint.
Before we start using service-to-service invocation, a building block of Dapr, let’s understand how it works, using an example.