gRPC in .NET: Basics & More
summary
gRPC is a first-class RPC option in .NET since Core 3.0 with .NET 6 recommending it for new RPCs; the session shows actual code generation from .proto files using Grpc.AspNetCore, Grpc.Tools and protoc, demonstrates a working console client and ASP.NET Core server (including a bi‑directional streaming demo that runs), and explains four modes: unary, server streaming, client streaming and bidirectional. It stresses reuse gRPC channels for performance, shows versioning by package name so URLs become greet.v1/greeter/Method, covers hosting limits (AKS, Container Apps, App Service on Linux, gRPC‑Web for Windows/IIS), and previews gRPC JSON transcoding in .NET 7. Tools shown: Google.Protobuf, grpcurl, BloomRPC, Postman.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 4:21What is gRPC and advantages
- 10:03Protocol Buffers and .proto files
- 13:15Code generation in gRPC
- 18:58gRPC modes: Unary, streaming
- 25:21Sending metadata with requests
- 27:48API versioning in .proto
- 35:49Hosting gRPC and .NET 7 features
- 38:18Advantages and disadvantages of gRPC
- 40:25gRPC use cases and tools
- 42:36Q&A








