如何在Web服务中应用推送技术以获取数据? [英] how to apply push technology in web services to get data?

查看:71
本文介绍了如何在Web服务中应用推送技术以获取数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是asp.net和Web服务的新手,所以我有一个问题想从这里获取建议.

我可以知道如何在Web服务中应用推送技术吗?

条件是这样的:

我必须通过Web服务获取Web应用程序A和Web应用程序B的数据.
获取数据后,我必须将其插入Web应用程序的数据库中并在浏览器中显示.

如果没有记错的话,我当前使用的技术是拉技术来获取数据(如果有错,请更正我).我继续将查询发送到Web应用程序A& B获取数据.

我可以知道在这种情况下可以使用推送技术吗?
当网络应用A或B具有新记录或更新记录时,
它会立即通过Web服务将数据推送到我的Web应用程序,而无需客户端请求,就像twitter.

请给一些建议,谢谢!!!
*我的英语不好,希望大家都能理解我在说什么.

Hi,

I am new on asp.net and web services,so i have some question that would like get some advice from here.

May i know how to apply push technology in web services?

The condition is like this:

I have to get the data for web application A and web application B via web services.
After get the data,i have to insert into my web application''s database and display in the browser.

If not mistake,the current technology that i use is pull technology to get the data(if wrong,please correct me).I keep on send the query to web app A & B to get the data.

May i know can i use push technology in this situation?
When web app A or B have new record or update record,
it will straight away push the data to my web app via web services without client request it which like twitter.

Please give some advise,Thanks!!!!

*I am poor in English, hope you all can understand what i talking about.

推荐答案

看看这个:

使用彗星方法在RESTful WCF Web应用程序中推送消息 [
Have a look at this:

Push Messages in RESTful WCF Web Application with Comet Approach[^]

Hope that helps... :)

Jasmin


这篇关于如何在Web服务中应用推送技术以获取数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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