Description
@mgravell The "how to use it" section could IMO use a little hand-holding for folks like myself who are trying to use the pipeline version.
In my case I have a large old net472 webforms app that I uses hundreds of bunch of ObjectDataSource DataObjects that are generated code. I'm creating a shim across IPC named pipe to a net6.0 server process that I want to actually execute the data retrieval from. This net6.0 process is just a console app and will listen on a pipe. I was able to PoC it with GrpcDotNetNamedPipes but I thought I'd do the same with your package so that I can avoid writing codegen to create proto files (that would cause codegen... :)) It's codegen all the way down.
Anyway, being the non-async, ObjectDataSource-oriented .Net 4.72 webforms app that 2006 would be proud of, I'm struggling with connecting the dots on the client side. I stumbled upon ConnectionFactory, but it doesn't get me far as it never completes.
liteChannel = ConnectionFactory.ConnectNamedPipe("LITE_PIPE", ".")
.AsFrames().CreateChannelAsync()
.GetAwaiter().GetResult();
Similar question on the server side. Perhaps once I get the client happy, I'll see that this actually works?
_liteServer = new LiteServer();
_liteChannel = _liteServer.CreateLocalClient("LITE_PIPE");
_liteServer.ServiceBinder.AddCodeFirst(serviceA);
_liteServer.ServiceBinder.AddCodeFirst(serviceB);
Activity