在asp.net中构建一个离线和在线应用程序 [英] Build an offline and online application in asp.net

查看:83
本文介绍了在asp.net中构建一个离线和在线应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我们通过使用仅在线的应用程序面临一个问题...

当互联网不好时用户无法工作所以这个是一个严重的问题,所以我们想要建立和应用可以在线和离线。意味着一旦互联网停止,我们就可以离线工作。

然后数据将在工作完成后更新...我对此不太了解,这就是为什么我问你是否可以建议一个更好的解决方案。



我能做些什么才能让它在线和离线工作?



谢谢!

解决方案

离线关于ASP.NET是完全不可逆转的荒谬。听听你自己的话。 离线表示客户端与网络的线路断开连接。而ASP.NET是在服务器端工作的东西,用户没有连接的东西。



欲了解更多信息,请参阅:

http://en.wikipedia.org/wiki/S%C3%A9ance [< a href =http://en.wikipedia.org/wiki/S%C3%A9ancetarget =_ blanktitle =New Window> ^ ],

< a href =http://en.wikipedia.org/wiki/Psychokinesis> http://en.wikipedia.org/wiki/Psychokinesis [ ^ ],

http://en.wikipedia.org/wiki/Clairvoyance [ ^ ],

http://en.wikipedia.org/wiki/Misnomer [ ^ ],

http://en.wikipedia.org/wiki/Nonsense [ ^ ]。



-SA


For实现离线连接,您可以选择 HTML5 indexedDB概念,从服务器复制数据并将其存储在 IndexedDB 中并继续使用当你在线下...



查看这些链接,



IndexedDB入门 [ ^ ]



http://www.html5rocks.com/en/tutorials/indexeddb/todo/ [ ^ ]

Hi,
We are facing an issue by using an application which is only online...
When the internet is bad user are not able to work so this is giving serious problem,So we want to build and application which can be online and offline. Means once the internet is down we can work offline.
And then data will be updated after the work is done...I dont know much about this, and this why I asking if u can suggest a better solution.

What Can I do to make it work online and offline?

Thanks!

解决方案

"Off-line" in respect to "ASP.NET" is total and irreversible absurd. Listen to your own words. "Off-line" means that the client is disconnected from "line", from the network. And "ASP.NET" is something working on the server side, something the user is not connected with.

For more information, please see:
http://en.wikipedia.org/wiki/S%C3%A9ance[^],
http://en.wikipedia.org/wiki/Psychokinesis[^],
http://en.wikipedia.org/wiki/Clairvoyance[^],
http://en.wikipedia.org/wiki/Misnomer[^],
http://en.wikipedia.org/wiki/Nonsense[^].

—SA


For achieving Offline Connectivity, you can go for HTML5 indexedDB concepts, make a copy of data from server and store it in IndexedDB and keep use of it while you are in offline...

Have a look into these links,

Getting Started with IndexedDB[^]

http://www.html5rocks.com/en/tutorials/indexeddb/todo/[^]


这篇关于在asp.net中构建一个离线和在线应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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