Click here to Skip to main content
12,623,027 members (29,034 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET WebForms HTML5
I am looking at the best way to make my asp.net web forms application be available offline. A lot of the controls in my application are bound to a linqdatasource.

Would I need to move all Linq CRUD code-behind and databound linq queries to my linq classes or should I just keep checking to see if the internet goes offline and then create a new datasource from localstorage or cache. I am just learning about this and would like some direction from those of you that know more about this.

Thanks
Posted 14-Dec-12 7:21am
Sheritt398
v2

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

When working offline, the only real tool you have to get data from the server is ajax as anything else can't have error handling wrapped around it. You risk the chance for HTTP 502, 400, 500 default response pages to be rendered as part of your user experience.

There's no reason why your AJAX request can't collect the result of any control, including your desired asp.net databound controls.

You need to understand the concept of getting HTML content using AJAX.

A google search just for you![^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.161128.1 | Last Updated 14 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100