netmsmqbinding 与 silverlight 连接限制

发布于 2024-08-03 15:34:11 字数 260 浏览 10 评论 0原文

我开发了一个 silverlight 聊天应用程序。我的问题是(a)netmsmqbinding可以支持wcf服务的无限连接吗?因为首先我使用 pollingduplex 绑定,但它在 iis6 上以及服务器版上仅支持 10 个连接。我已准备好设置服务限制选项,但不会对服务器 iis 产生影响。所以现在我想要使用 netmsmqbinding。请解释一下 msmqbinding 限制。它对于聊天应用程序是否更好?

帮助我做出决定。

谢谢

I have develop a silverlight chat application. my question is (a) can netmsmqbinding support unlimited connections of wcf service. because first im use pollingduplex binding but it support only 10 connection on iis6 also on server edition.im allready set service throttling options but not effect on server iis. so that now i want to go for netmsmqbinding. please explain me msmqbinding limitations.can its better for chat application or not?

help me for take decision.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

唔猫 2024-08-10 15:34:11

据我所知(但我不太了解Silverlight),它只支持basicHttpBinding。

即使 Silverlight 确实支持 MSMQ - 当您创建聊天应用程序时,这绝对不是一个好的协议。队列可以缓冲消息并稍后传送它们。这在很多情况下都很有效,但是当我与某人聊天时,我希望我的消息立即显示 - 而不是“稍后”......

因此,如果您确实需要以某种方式使用 MSMQ,我认为您必须有一个基于 BasicHttp 的前端服务,从 Silverlight 客户端传输到服务器,然后在服务器上将消息实际转发到 MSMQ 队列。

马克

As far as I know (but I don't know Silverlight all that well), it supports only the basicHttpBinding.

And even if Silverlight did support MSMQ - this is definitely not a good protocol to use when you're creating a chat application. The queue can buffer messages and deliver them later. That works well in many scenarios, but when I chat with someone, I want my message to show up right away - not "some time later".....

So if you really need to use MSMQ in some way, I think you'd have to have a BasicHttp-based front-end service that goes from your Silverlight client to the server, and then on the server actually route your message forward to a MSMQ queue.

Marc

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文