• Home
Name
Date
Size
#Lines
LOC

..--

Greeter/12-May-2024-1813

GreeterClient/12-May-2024-5229

GreeterServer/12-May-2024-6540

Greeter.slnD12-May-20241.9 KiB3533

README.mdD12-May-2024819 4027

README.md

1gRPC in 3 minutes (C#)
2========================
3
4BACKGROUND
5-------------
6This is a version of the helloworld example using the dotnet SDK
7tools to compile [helloworld.proto][] in a common library, build the server
8and the client, and run them.
9
10PREREQUISITES
11-------------
12
13- The [.NET Core SDK 2.1+](https://www.microsoft.com/net/core)
14
15You can also build the solution `Greeter.sln` using Visual Studio 2017,
16but it's not a requirement.
17
18BUILD AND RUN
19-------------
20
21- Build and run the server
22
23  ```
24  > dotnet run -p GreeterServer
25  ```
26
27- Build and run the client
28
29  ```
30  > dotnet run -p GreeterClient
31  ```
32
33Tutorial
34--------
35
36You can find a more detailed tutorial about Grpc in [gRPC Basics: C#][]
37
38[helloworld.proto]:../../protos/helloworld.proto
39[gRPC Basics: C#]:https://grpc.io/docs/languages/csharp/basics
40