gRPC has been around for a while now, but never gained the first-class citizen title when it came to implementing a downstream API.
It is contract-based, performant - with smaller response/request bodies, perfect for polyglot environments and supports different models – from client-server to bi-directional streaming out of the box. If we sprinkle some client-side load balancing, transient fault-handling and the ability of exposing a gRPC service also as a HTTP API, we might the perfect point-to-point communication mechanism.
In this 1 day workshop you will learn the how and the whys and understand where gRPC fits in the .NET APIs ecosystem.
Topics covered:
- What gRPC is and how it fits in an API context
- working with proto files, most common scenarios
- the 4 gRPC types
- Implementing and consuming gRPC services
- Documenting and exposing gRPC endpoints
- Client-side load balancing
- gRPC transcoding
- transient fault-handling
Prerequisites
Attendees will require a laptop with the latest version on .NET SDK and their editor/IDE of choice:
- Visuals Studio 2022
- VS Code
- SQL Server instance (mslocal is ok)