web applications - Build an ASP.Net web app with offline functionality -


i'm in process of building asp.net (3.5) web app , wondering if knew of way there offline functionality.

this needed people able 'install' web app on device (using 'add home screen' function on iphone example) , use app when offline; usage limited (there no need server calls @ point either).

can done .aspx page?

edit- .manifest added:

cache manifest index.aspx  /logo.png /main.css /main.js 

edit no.2-

we have working offline, in fashion; works when in safari don't want in safari, want standalone app. when try run 'can't connect server error'. possible .aspx page?

edit no.3 -

we've got work using .html page still not yet .aspx

edit no.4-

it's working, although we're unsure why! added index.aspx 'network' section of cache.manifest last week (which didn't work last week!) may have helped once know sure i'll update happened!

thanks help!

for offline html5 applications asp.net, see link , link.

for offline functionalities, there alternatives:

01 - if need store small amounts of data in offline application, , security not big concern, can use html5 web storage (link, link, link, link, link, , take @ caniuse understand browser version support).

the main disadvantages lacks in security, key-value based (no complex structures) , there big limitation in storage size (5mb browsers).


02 - if need larger amount of data, can @ indexdb (link, link, link , caniuse) or web sql (link, link, link , caniuse browser support).

the main disadvantages of web sql not supported firefox ie. also, deprecated w3c.

indexdb (link), seems ios still doesnt support (see caniuse).

for approaches 1 , 2, can make responsive design or dedicated mobile web site in asp.net application (link).


03 - (greater flexibility demands more effort) implement web service in asp.net application , mobile native app applying concepts of connected applications (more info: link, link)

  • asp.net web application => web application, expose web service services related offline functionality.

  • mobile application => implement native mobile app (e.g., develop app android , iphone) database application. create offline functionality in mobile app use own database read , write (locally) data must available offline.

you implement silent synchronization mechanism in mobile app relies on internet (e.g. recurrent thread) search updates accessing asp.net application via web service. sync mechanism send data stored locally , recover data web service can useful offline functionality.


hope helps.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -