Embracing gRPC in .NET
summary
Shows concrete .NET setup: a gRPC server (dotnet project template) and four console clients exercising unary, server streaming, client streaming, bidirectional. Uses protobuf binary over HTTP/2, auto-generates C# clients and base classes, exposes headers/trailers, RPC-specific status codes and RPCException handling, and adds Interceptors, compression and deadlines. Demonstrates proto-driven contract, shows payloads around 80% smaller than JSON in the demo, enables grpc transcoding to expose HTTP endpoints, and attempts client-side load balancing (round‑robin) though that demo fails live while the other demos work.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 3:16Monoliths to microservices
- 10:14REST limitations for internal comms
- 13:28What is gRPC
- 22:20gRPC service setup in .NET
- 26:57Live demo of gRPC types
- 33:38Handling errors and deadlines
- 40:29gRPC internals and status codes
- 44:45Interceptors for logging
- 47:54gRPC security in .NET
- 48:59gRPC transcoding for web
- 51:49Retry and hedging policies
- 53:14Client-side load balancing
- 56:33Benefits and downsides of using gRPC
- 58:44When to use gRPC in .NET
- 59:06Summary








