oracle中是否有任何事件驱动技术可与asp.net一起使用? [英] Is there any event driven technique in oracle to use with asp.net?

查看:79
本文介绍了oracle中是否有任何事件驱动技术可与asp.net一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

oracle中是否有任何事件驱动技术可以与asp.net一起使用,该技术应该能够实时显示数据?

Is there any event driven technique in oracle to use with asp.net which should be capable of showing data in real time?

我的要求很简单,但可能很棘手.

My requirement is simple but may be tricky..

我有一个Oracle数据库,其中包含不时变化的不同地方的天气数据.我需要开发一个Web应用程序以实时查看来自oracle的那些数据,这意味着在数据库中更新记录后,新值应立即在网页上可见.

I have an Oracle database containing weather data of different places which are changing time to time. I need to develop a web application to view those data from oracle in real time, that means as soon as a record is updated in database, the new value should be visible on the web page immediately.

为此,应该在更新记录时执行select语句.

For this, the select statement should be executed when a record is updated.

有什么想法吗?

推荐答案

是,使用oracle数据库更改通知功能.您必须为此使用ODP.Net.阅读文档,了解如何使用它.这将允许从Oracle到您的ASP.Net应用程序的提名.
此处也证明了一个示例.

Yes using oracle database change notification feature. You have to use ODP.Net for this. Read the documentation on how to use this. This will allow a noiificationm from Oracle to your ASP.Net application.
An example is also proved here.

另一部分是在浏览器和服务器之间进行推送通知设置.如果可以使用ASP.Net,则可以使用网络套接字 4.5.但是,只有IE 10将支持Web套接字,但是firefox和chrome已经支持.还有其他实现,例如 superwebsockets .我没有使用过,但是 SignalR 库值得一试.

The other part is to have a push notification setup between the browser and server. This is possible using web sockets if you can use ASP.Net 4.5. However only IE 10 will support web sockets but firefox and chrome already does. There are alternate implementations as well such as superwebsockets. I haven't used this but SignalR library is worth checking out.

这篇关于oracle中是否有任何事件驱动技术可与asp.net一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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