What's the recommended way for console applications to talk with each other?
问题 I got a system of console applications written in C# running on different machines. I use MSMQ. My questions is, how do I make my console applications communicate to each other? I'm asking because I want to create a new console application that can be queried by other applications to know the number of messages in MSMQ. Edit 1: Thanks for the replies and comments! About the requirements, I'm estimating maybe about 10-50/sec of queries 回答1: You need to use a pipe to achieve this: see Named