gRPC - Real-World .NET Core/.NET 5 Applications

Опубликовано: 30 Май 2026
на канале: Shiv Kumar
3,274
89

gRPC is a high performance Remote Procedure Call framework that can efficiently connect services in and across data centers with pluggable support for load balancing, tracing, health checking and authentication.

In this video, we talk about how to combine regular ASP.NET Core Web API endpoints with gRPC. How to design and implement your applications insofar as gRPC code generated classes and how to deal with and handle exceptions.

Introduction to gRPC
   • Introduction To gRPC  

gRPC - Getting Started .NET 5/ .NET Core 3.x
   • gRPC - Getting Started .NET 5/ .NET Core 3.x  

The Source code of the project built during this video is available here:
https://github.com/matlus/MovieServic...

The Original (non-gRPC version) MovieService application that is more fleshed out and include tons of Tests can be found here:
https://github.com/matlus/MovieServic...

Chapter Markers
00:00 Intro
00:47 Introduction to the "System"
02:58 Roles and Responsibilities of the gRPC Stubs/Service Interface Layer
06:00 Role of the gRPC Code generated files
09:18 Introducing the MovieServiceGrpc class (gRPC Abstraction)
10:11 Adding gRPC to an ASP.NET Core application
11:05 The .proto Files
12:38 Implementation of the MovieServiceGrpc class
21:35 gRPC Client side Gateway
23:04 Implementation of the Client side Gateway
27:55 Implementing the Client (using the Gateway)
31:29 Implementing the gRPC Streaming method
31:48 Slowing down the Streaming
34:46 Handling RpcExceptions
40:44 Getting the Business Exception to be thrown
48:45 Conclusion