.NET gRPC - deep dive
summary
Live demo of .NET gRPC builds a Visual Studio template service and simple console clients that exercise all four RPC modes including server streaming and bidirectional streaming, using generated Protocol Buffers types. Shows Postman and a reflection-based client, implements deadlines, metadata/trailers, interceptors, and throws RPCException for validation. Configures client-side load balancing with multiple server instances, and retry/hedging policies. Adds grpc-json transcoding so browser GET/POST maps to gRPC. Claims up to ~80% smaller payloads vs JSON; demos run successfully end-to-end.
AI-written summary · about
chapters (30)
- 0:00Welcome
- 0:48Monoliths vs modular
- 2:13Backend/frontend evolution
- 3:41REST limits in practice
- 5:08RPC and distributed systems
- 6:35gRPC history and .NET
- 7:41Protobuf and gRPC basics
- 9:05HTTP/2 and gRPC protocol
- 13:00Defining gRPC services
- 15:32gRPC communication modes
- 17:40gRPC project in VS
- 18:24Project structure and code
- 20:53Business logic in gRPC
- 23:23gRPC context access
- 24:27Testing gRPC with Postman
- 26:59gRPC modes demo
- 29:46Client implementation
- 34:25Unary gRPC requests
- 35:49Client streaming demo
- 37:10Server streaming demo
- 38:58Bidirectional streaming demo
- 41:07gRPC status codes
- 42:35Deadlines and timeouts
- 44:22Message sizes and compression
- 45:05gRPC security
- 46:09Client-side load balancing
- 49:24Transient fault handling
- 55:12gRPC transcoding
- 58:24gRPC benefits and tradeoffs
- 1:00:11Q&A








