Communication between C# and Java -
i want use grpc in c# , java.
c# should act server , java client.
i windows user , not know, how generate proto file c# , java.
on website, found tutorials specific language not different languages.
using grpc in both c# , java should easy using them individually. need use same .proto
file generate code each. .proto
defines methods , messages both c# , java compatible with.
if @ each set of examples, each use same .proto
(i.e., helloworld.proto
or route_guide.proto
). examples compatible between languages (i.e., c# helloworld server can communicate java helloworld client).
specifying grpc services in proto files pretty straight-forward; i'd assume looking @ examples make clear enough. more information defining proto messages, may take @ protobuf documentation.
Comments
Post a Comment