tree: 291f30636e82e86f9052a896722c287f1a87bc12 [path history] [tgz]
  1. Greeter/
  2. GreeterClient/
  3. GreeterServer/
  4. Greeter.sln
  5. README.md
examples/csharp/Helloworld/README.md

gRPC in 3 minutes (C#)

BACKGROUND

This is a version of the helloworld example using the dotnet SDK tools to compile helloworld.proto in a common library, build the server and the client, and run them.

PREREQUISITES

You can also build the solution Greeter.sln using Visual Studio 2017, but it's not a requirement.

BUILD AND RUN

  • Build and run the server

    > dotnet run -p GreeterServer
    
  • Build and run the client

    > dotnet run -p GreeterClient
    

Tutorial

You can find a more detailed tutorial about Grpc in gRPC Basics: C#