/PlayingWith_gRPC

Try out the .NET Core client and server gRPC framework

Primary LanguageC#

Playing with .NET Core gRPC

Explore the fundamentals and features of the gRPC Remote Procedure Call (RPC) framework in .NET. It is a good fit for high-performance or streaming communication between microservices.

Projects in the solution

Grpc.Demo.ProtoLib

  • Contains the proto file in a common library for the client and server projects
  • CertificateHelper.cs: It is used to read the certificate from the Current User Store

Grpc.Demo.WebServer

  • gRPC server implementation (unary call, throw RpcException, server and client streaming, define enum and timestamp types)
  • Implement Certificate Authentication. You can use the MakeCerts.ps1 to create development client a server certificates

Grpc.Demo.ConsoleClient

  • gRPC client implementation for console application

Grpc.Demo.WorkerServiceClient

  • gRPC client implementation for worker service using gRPC client factory

Resources




Postman-gRPC-Endpoints