How best to communicate between AppDomains?

open-collar picture open-collar · Nov 24, 2008 · Viewed 22.2k times · Source

I have an application that needs to send a moderately high volume of messages between a number of AppDomains. I know that I could implement this using remoting, but I have also noticed that there are cross-domain delegates. Has anyone looked at this kind of problem?

Answer

Michael Meadows picture Michael Meadows · Nov 24, 2008

I have had good success using WCF with a named pipes binding. Using named pipes creates no network traffic and uses binary encoding, so it should be pretty fast without sacrificing the ability to distribute in future scaling scenarios.

EDIT: Refer here for more detailed information including a link to an implementation example.