netmsmqbinding 与 silverlight 连接限制
我开发了一个 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知(但我不太了解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