The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Jan Tattermusch a54c12d6cd regenerate helloworld-from-cli protos 7 years ago
..
Greeter regenerate helloworld-from-cli protos 7 years ago
GreeterClient cleanup helloworld for dotnet CLI 7 years ago
GreeterServer cleanup helloworld for dotnet CLI 7 years ago
Greeter.sln update .NET core example to .csproj projects 8 years ago
README.md Use https://grpc.io consistently as the canonical URL 8 years ago
generate_protos.bat cleanup helloworld for dotnet CLI 7 years ago
global.json add global.json files for C# 7 years ago

README.md

gRPC in 3 minutes (C#)

BACKGROUND

This is a different version of the helloworld example, using the dotnet sdk tools to build and run.

For this sample, we've already generated the server and client stubs from helloworld.proto.

Example projects in this directory depend on the Grpc and Google.Protobuf NuGet packages which have been already added to the project for you.

PREREQUISITES

BUILD

From the examples/csharp/helloworld-from-cli directory:

  • dotnet restore Greeter.sln

  • dotnet build Greeter.sln

Try it!

  • Run the server

    > cd GreeterServer
    > dotnet run -f netcoreapp1.0
    
  • Run the client

    > cd GreeterClient
    > dotnet run -f netcoreapp1.0
    

Tutorial

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