grpc/examples/csharp/Helloworld
Jan Tattermusch 1a33196710 upgrade helloworld example to 2.23.0 2019-09-05 09:50:21 +02:00
..
Greeter upgrade helloworld example to 2.23.0 2019-09-05 09:50:21 +02:00
GreeterClient Redo C# examples to use new Grpc.Tools 2018-10-14 02:24:12 -07:00
GreeterServer Redo C# examples to use new Grpc.Tools 2018-10-14 02:24:12 -07:00
Greeter.sln Redo C# examples to use new Grpc.Tools 2018-10-14 02:24:12 -07:00
README.md Redo C# examples to use new Grpc.Tools 2018-10-14 02:24:12 -07:00

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#