|
|
10 years ago | |
|---|---|---|
| .. | ||
| GrpcApi | 10 years ago | |
| GrpcApiTests | 10 years ago | |
| GrpcCore | 10 years ago | |
| GrpcCoreTests | 10 years ago | |
| InteropClient | 10 years ago | |
| MathClient | 10 years ago | |
| ext | 10 years ago | |
| .gitignore | 10 years ago | |
| Grpc.sln | 10 years ago | |
| README.md | 10 years ago | |
A C# implementation of gRPC, Google's RPC library.
This gRPC C# implementation is work-in-progress and is not expected to work yet.
Compile and install the gRPC C Core library
make shared_c
sudo make install
Prerequisites for development: Mono framework, MonoDevelop (IDE)
sudo apt-get install mono-devel
sudo apt-get install monodevelop monodevelop-nunit
sudo apt-get install nunit nunit-console
NuGet is used to manage project's dependencies. Prior opening Grpc.sln, download dependencies using NuGet restore command:
# Import needed certicates into Mono certificate store:
mozroots --import --sync
# Download NuGet.exe http://nuget.codeplex.com/releases/
# Restore the nuget packages with Grpc C# dependencies
mono ~/Downloads/NuGet.exe restore Grpc.sln
Use MonoDevelop to open the solution Grpc.sln (you can also run unit tests from there).
After building the solution with MonoDevelop, you can use nunit-console to run the unit tests (currently only running one by one will make them pass.
nunit-console GrpcCoreTests.dll