离线运行asp.net网站 [英] Running an asp.net website offline

查看:87
本文介绍了离线运行asp.net网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨……我刚刚收到一个客户要求,说明他想让他的asp.net应用程序具有离线功能,该功能可以在Tablet PC上运行.该应用程序包含用于输入数据的多种形式.但是由于Internet连接有时不存在,他们希望当时将输入数据缓存在本地,然后稍后与服务器同步.我们现在正在研究的选项是 IE插件,activex控件和Google Gears ...对于该概念和替代解决方案,我还是一个相对较新的人.任何人都可以让我知道是否还有其他解决方案?否则,上述解决方案中的哪一个最适合? Thanx

hi ... i''ve just received a client requirement stating that he wants to have an offline capability for his asp.net application being run on tablet PC''S. The application consists of multiple forms being used for data entry. But due to Internet Connectivity not being there sometimes, they want to cache the input data locally at that time and later sync up with the server. The options that we are looking into right now are IE Plugins, activex controls and Google Gears ... I am relatively new to the concept and alternative solutions. Can anyone please let me know if any other solution exists?? Or else which one of the stated solutions will fit in most optimally ? Thanx

推荐答案

ASP.Net页必须能够连接服务器.服务器负责所有工作和编译.听起来您需要查看一种智能客户端解决方案而不是Web客户端.在默认HTML 5并在所有浏览器上可用之前,浏览器还没有一种良好或安全的方法来存储可以与服务器同步备份的大量数据.

如果必须使用asp.net作为平板电脑技术,则必须在每台平板电脑上托管的本地iis上运行该应用程序.本地服务器可以在.net进程有权访问的任何位置存储数据.它可以存储为xml,文本或本地db文件,然后当应用程序可以访问中央服务器时,将其转储数据.但是,这不是一个可扩展性很强的解决方案.
An ASP.Net page must be able to connect the server. The server is what does all the work and compiling. It sounds like you need to look at a smart client solution instead of web clients. Until HTML 5 is the default and available on all browsers, there is not a good or secure way for the browser to store large amounts of data that can be synched back up with the server.

If you must have asp.net as the tablet technology then you would have to have the app run on a local iis hosted on each tablet. The local server could store data wherever the .net process has access. It could be stored as xml, text, or a local db file and then when the app can access the central server, have it dump the data. This is not a very scalable solution however.


我认为您可以看到它, http://blog.maartenballiauw.be/category/Google-Gears.aspx [
I think you can see this,http://blog.maartenballiauw.be/category/Google-Gears.aspx[^]


我对台式电脑没有任何经验,但就Asp.net而言,您的要求更多看起来像浏览器应用程序中的银色光芒.

在Microsoft网站上检查此功能,我认为这是最适合您的解决方案.
I don''t have any experience of table pc''s but as far as Asp.net, Your requirement more look like Silver light out of browser Application.

Check this feature on Microsoft site, I think it is best solution for u.


这篇关于离线运行asp.net网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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