C# - WCF - inter-process communication

前端 未结 2 442
遇见更好的自我
遇见更好的自我 2020-11-27 11:15

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

相关标签:
2条回答
  • 2020-11-27 11:24

    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.

    0 讨论(0)
  • 2020-11-27 11:42

    For same machine inter process communication use as Matt already said NetNamedPipeBinding. I have a very basic example on my blog to show how this can be achieved.

    https://dopeydev.com/wcf-interprocess-communication/

    0 讨论(0)
提交回复
热议问题