How to configure WCF to push real-time data to the client?

做~自己de王妃 提交于 2019-12-03 08:27:46

Use WCF Callbacks. A good walkthrough that shows several configurations for this is available on the MSDN. We used the NetTCPBinding at my last job to great effect. It's very fast and efficient. The downside is that it doesn't support secure transport on Silverlight, so if that's a requirement you'll need to go with the PollingDuplexHttpBinding.

Depending on the infrastructure (intranet?) you could use sockets.

You can setup your WCF service to use PollingDuplexHttpBinding .

See this video tutorial from channel9.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!