grpc-dotnet-namedpipes
grpc-dotnet-namedpipes copied to clipboard
Connection established ?
var channel = new NamedPipeChannel(".", "MY_PIPE_NAME");
var client = new Greeter.GreeterClient(channel);
Can you check if the server is listening after you execute this ?
You can set NamedPipeChannelOptions.ConnectionTimeout and then call a method on the client and it should fail within that time if the server isn't responding.
Splendid. Do you throw ex after that period elapses or return some err?
It should throw an RpcException with StatusCode.Unavailable.