Build high-performance APIs with gRPC and .NET
summary
Shows how to build a gRPC service and client on .NET 5 using Grpc.AspNetCore and Grpc.Net.Client with ProtoBuf code generation, Visual Studio Add Connected Service, and an actual Greeter demo that runs: a unary call and a server streaming demo of 10 messages with 1s delays, both working end-to-end. Reports 92% allocation reduction in .NET 5, server throughput up ~60% and client RPS +230% versus .NET Core 3. Covers gRPC-Web, Kestrel/IIS hosting, keepalive pings, and IPC via domain sockets/named pipes.
AI-written summary · about
chapters (10)
- 0:00Introduction to gRPC
- 1:50Protobuf and core concepts
- 4:31gRPC vs REST comparisons
- 7:15Demo: building a gRPC service
- 11:59Client-side implementation
- 17:00Streaming in gRPC
- 22:58gRPC core vs .NET implementations
- 28:55Performance optimization
- 32:58New features in .NET 5
- 43:26Learning resources








