- Build the solution (this will automatically download NuGet dependencies)
- Build the solution (this will automatically download NuGet dependencies)
Linux (Mono)
**Linux (Mono)**
- Clone this repository.
- Clone this repository.
- Install gRPC C Core using instructions in https://github.com/grpc/homebrew-grpc
- Install gRPC C Core using instructions in https://github.com/grpc/homebrew-grpc
- TODO: explain using LD_LIBRARY_PATH or installation to /usr/local
- gRPC C# depends on native shared library `libgrpc_csharp_ext.so`. To make it visible
to Mono runtime, follow instructions in [Using gRPC C# on Linux](https://github.com/grpc/grpc/tree/master/src/csharp#usage-linux-mono)
- Open solution `Greeter.sln` in MonoDevelop (you need to manually restore dependencies by using `mono nuget.exe restore` if you don't have NuGet add-in)
- Open solution `Greeter.sln` in MonoDevelop (you need to manually restore dependencies by using `mono nuget.exe restore` if you don't have NuGet add-in)
- Build the solution.
- Build the solution.
**MacOS (Mono)**
- See [Using gRPC C# on MacOS](https://github.com/grpc/grpc/tree/master/src/csharp#usage-macos-mono) for more info
on MacOS support.
Try it!
Try it!
-------
-------
- Run the server
- Run the server
```
> cd GreeterServer/bin/Debug
```
> GreeterServer.exe
> cd GreeterServer/bin/Debug
```
> GreeterServer.exe
```
- Run the client
- Run the client
```
> cd GreeterClient/bin/Debug
```
> GreeterClient.exe
> cd GreeterClient/bin/Debug
```
> GreeterClient.exe
```
You can also run the server and client directly from Visual Studio.
You can also run the server and client directly from Visual Studio.