通过javascript使asp.net页面脱机工作 [英] Make asp.net page work offline via javascript

查看:81
本文介绍了通过javascript使asp.net页面脱机工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过javascript使asp.net页面脱机工作。

实时场景是用户将在ipad / tab中使用asp.net web应用程序,如果互联网切断了至少页面不应该显示页面未找到,也是他们任何方式留在访问页面不受干扰的某些有限的功能,如只查看记录,如存储在应用程序缓存中。

还要避免在离线后回发是否可以使用javascript处理。



任何想法解决的问题

解决方案

是的,这是可能的。阅读 HTML5应用程序缓存 [ ^ ]

它为您提供离线浏览功能,更快,更低的服务器应用开销。谷歌的这个主题,你会发现许多资源,如下面

使用应用程序缓存,Web构建HTML5离线应用程序存储和ASP.NET MVC [ ^ ]

创建HTML5离线Web应用程序ASP.NET [ ^ ]

祝你好运: - )


create-html5-offline-web-applications-with-asp-net [ ^

Is it possible to make asp.net page work offline via javascript.
The real time scenario is user will using asp.net web application in ipad/tab , here if internet cuts off atleast the page should not show page not found, also is their any way to stay in visted page undisturbed with some kind of limited funtionalities like only viewing the record like storing in application cache .
Also to avoid postback after offline can it be handled using javascript.

any ideas to work it out

解决方案

Yes it is possible. Read about HTML5 Application Cache[^]
it gives you offline browsing ability, faster, low overhead to server application. Google for this topic and you will find many resources like below
Build an HTML5 Offline Application with Application Cache, Web Storage and ASP.NET MVC[^]
Creating HTML5 Offline Web Applications with ASP.NET[^]
Good luck :-)


creating-html5-offline-web-applications-with-asp-net[^]


这篇关于通过javascript使asp.net页面脱机工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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