Local inter-process communication over named pipes with ASP.NET Core or StreamJsonRpc in .NET

In simple scenarios of communication between two processes on the same machine , one process can start another and pass information via environment variables or command-line arguments. It can also receive the execution result through return codes or standard output. However, in more complex situations, a communication channel must be established and maintained between the two processes for as long…