Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How best to communicate between AppDomains?

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?

like image 288
open-collar Avatar asked Nov 24 '08 14:11

open-collar


1 Answers

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.

like image 199
Michael Meadows Avatar answered Oct 07 '22 00:10

Michael Meadows