开发者

Server Push technique with WCF for pushing data to clients [closed]

开发者 https://www.devze.com 2023-01-07 14:15 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. 开发者_Python百科 Closed 9 years ago.

How can i use Server Push with my WCF web service to communicate with the asp.net clients and push the data to the browser? Can i implement BOSH with WCF?

Thank you.

NLV


Hi You can use the attached example I have made. If you sent it to be a public push server - i.e available via WebService - you will have to add a webservice that will use the MSMQ. The problem is that you will need to have an IIS installed on both the server and the client. If you use it internally then MSMQ will be enough. http://www.codeproject.com/KB/WCF/WcfMsmqServerPush.aspx


There is a sample here


Another alternative is signalR

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号