tags:

views:

622

answers:

1

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.

+13  A: 

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.

Matt Davis