Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# - WCF - inter-process communication

Tags:

c#

.net

process

wcf

What is the best WCF binding to use for inter-process communication?

I have used WCF over local networks and it is amazing, and I'd like to use it for inter-process communication as well. I do not want to expose the communication over the network, however.

like image 501
jonathanpeppers Avatar asked Oct 23 '09 13:10

jonathanpeppers


1 Answers

Use the NetNamedPipeBinding for inter-process communication on the same machine. Use the NetTcpBinding if you are crossing machine boundaries. I've found this flow chart helpful.

WCF Binding Selection Flow Chart.

like image 128
Matt Davis Avatar answered Oct 31 '22 13:10

Matt Davis