Re: [protobuf] Can the client parse the interface and message structures of the server?

2019-12-14 Thread erik stroeken
Thanks Marc. The current implementation of ASP.NET Core 3.1 doesn't support the Reflection but with the NuGet of James NK I managed to list the services. I can't figure out from the example how to list methods on a service or fields in messages. Shall I ask James NK or do you know someone who

Re: [protobuf] Can the client parse the interface and message structures of the server?

2019-12-14 Thread Marc Gravell
That would prpbably be a great question for James NK over on the relevant GitHub repo. IIRC the sample server includes reflection, though: https://github.com/grpc/grpc-dotnet/ On Sat, 14 Dec 2019, 12:22 erik stroeken, wrote: > Thanks Nadav Samet > I've been trying to implement the concepts

[protobuf] How to use _unknownFields in RPC Client?

2019-12-14 Thread erik stroeken
I've an RPC server with this interface: syntax = "proto3";import "google/protobuf/descriptor.proto"; import "google/protobuf/empty.proto"; option csharp_namespace = "RpcVersioningClient.Services"; service MachineService { rpc GetCounters (google.protobuf.Empty) returns (CountersMessage); }

Re: [protobuf] Can the client parse the interface and message structures of the server?

2019-12-14 Thread erik stroeken
Thanks Nadav Samet I've been trying to implement the concepts described in https://github.com/grpc/grpc/blob/master/doc/server-reflection.md and for C#: https://github.com/grpc/grpc/blob/master/doc/csharp/server_reflection.md in the implementation of ASP.NET Core. You have to somehow configure