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