Skip to content

An example of a gRPC C# logging server and Python 3.x client

Notifications You must be signed in to change notification settings

mikeym88/grpc-server-client-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC Example

This is an example project that uses gRPC.

To generate the source code for the C# gRPC server, use the following command.

protoc -I .\pb\ --csharp_out .\logging-grpc-server\Messages\ .\pb\Log.proto --grpc_out .\logging-grpc-server\Messages\ --plugin=protoc-gen-grpc=C:\Users\mikey\.nuget\packages\grpc.tools\1.21.0\tools\windows_x64\grpc_csharp_plugin.exe

To do the same with Python code, use the following command.

python -m grpc_tools.protoc -I .\pb\ --python_out=.\logging-grpc-client\ --grpc_python_out=.\logging-grpc-client\ .\pb\Log.proto

About

An example of a gRPC C# logging server and Python 3.x client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published