Re: [grpc-io] Migration from WCF to gRPC core

2022-12-16 Thread 'Mark D. Roth' via grpc.io
I think you can do something like this using a bidi stream. For example, consider the following API: // A message to be sent from the client to the server when the client changes the state of a component. message ChangeComponentState { string name = 1; // Component name. // ...other fields c

Re: [grpc-io] Migration from WCF to gRPC core

2022-12-15 Thread 'Mark D. Roth' via grpc.io
gRPC does not provide a way to start an RPC from the server side. RPCs are always started from the client side. The general approach I would recommend in this kind of situation is to use a bidi streaming call that the client keeps open at all times, so that the server can use that to send a messa

[grpc-io] Migration from WCF to gRPC core

2022-12-09 Thread Manikandan V S
We are in process of migrating WCF to gRPC core. Currently in WCF we have a duplex connection and we use the call back contract to even notify all clients on need basis. The implementation is something similar to what is explained in this question