💥 gRPC on .NET: How to use gRPC in ASP.NET Core Api

Опубликовано: 23 Апрель 2026
на канале: Saeed Esmaeelinejad
14,577
271

gRPC, which stands for "General Remote Procedure Call" is a high-performance RPC (Remote Procedure Call) framework that was developed by Google. It builds upon the foundation of Protocol Buffers (protobuf) and leverages the capabilities of HTTP/2.0 to provide a powerful and efficient communication protocol for building distributed systems.

Some developers think the 'g' in gRPC is referring to Google but it's not:)

It is the best choice for back-to-back communication. Still, you can't use gRPC on a browser but there is a workaround for using gRPC on the web called grpc-web, it's not on stable version.

In this video, I show you how to gRPC in microservice-like architecture using API - gRPC.SDK -gRPC.Server.

Repo[GrpcOnAspNet]: https://github.com/sa-es-ir/youtube-s...

Protobuf and C# Serializers:    • 🔆 C# Serializers: NewtonSoft vs Protobuf v...  

Moments

00:00 - Intro
00:30 - Scenario
00:44 - Code Structure
00:55 - Adding gRPC Server
09:16 - Adding gRPC SDK
19:30 - gRPC Exceptions
21:03 - Using gRPC.SDK in the API

#dotnet #aspnetcore #grpc #grpcdotnet
-----------------------------------------
LinkedIn Profile:
  / sa-es-ir