I need to know about different ways for communication between two processes (windows services). I am working with WCF but, if any body can suggest better way other than WCF than it would be appriciable...
Thank u all for ur comments...
I have found a solution... m using a windows service inside which a wcf service is hosted.
And also came to know that one wcf service can directly call other wcf service if service reference of that service is provided...
Please see my comment to the question above. You can use very different IPC, and I cannot advise what to prefer, because I don't know your goal in sufficient detail.—SA
But I can explain some of the reasons to prefer WCF, even though you should not consider them as decisive. 1) you are already familiar with WCF, 2) self-hosted WCF is pretty simple to use; and development is also pretty simple; 3) you can easily can switch the same WCF to use a different channel if you later need it. For example, if today you use IPC channel (in WCF jargon, this is more specialized word: a channel based on named pipes) later you can easily switch to TCP, or to some messaging system like MSMQ — you name it.
So, if you don't have extremely sophisticated requirements for customization of communication, if you don't have super extra critical performance requirements (yes, WCF has its overhead), nothing very special, it can be a sure way to go. Or one of such ways.
Edited 11-Jan-13 6:23am
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)