最好的机制,在.NET中实现一个IPC巴士? [英] Best mechanism to implement an IPC Bus in .NET?

查看:173
本文介绍了最好的机制,在.NET中实现一个IPC巴士?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望通过数据总线进行本地通信几个应用程序。

I have several apps that want to communicate LOCALLY via a data bus.

在理想情况下:

  • 他们交谈,并听取每当他们联机
  • 不会有这种通信方式的老板。
  • 在没有额外的组件进行安装(即消息队列)
  • 这将是很好,如果没有港口需要打开

有什么你觉得是这样做的最好的技术?

What do you think is the best technology to do this?

有没有办法使用WCF的数据总线?

Is there a way to use WCF for a data bus?

推荐答案

是的,你可以和我认为应该使用WCF做到这一点。命名管道绑定在盒子上的进程间通信真棒。它简单易用(假设你有一些接触服务),是非常有效的。我觉得这个适合你正在尝试做完美的东西(从如何描述它)。

Yes you can and I think should use WCF to do this. The Named Pipe Binding is awesome at on box interprocess communications. It is simple to use (assuming you have some exposure to services) and is very efficient. I think this fits what you are trying to do perfectly (from how you describe it).

有很多的文章在网络上关于使用这种结合这种方式。 这里是一个目标pretty的多少你描述...我通读了一点,但你的城市 - 这个特殊的可能会有所不同。

There are many articles on the net about using this binding this way. Here is one that targets pretty much what you describe... I read through it a little, but your mileage with this particular one may vary.

如果您搜索WCF和命名管道,你会发现很多资源在那里。

If you search for WCF and Named Pipe you will find a lot of resources out there.

这篇关于最好的机制,在.NET中实现一个IPC巴士?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆