Posts

Showing posts from November, 2011

Making Offline MVC 3 Application.

Image
Hi Guys!! I never thought building offline MVC 3 app could be this much simple.  I had a question in my mind for a long time: Why this offline application? How it works? Etc.. As per my knowledge, in Silverlight there is a smart client concept. So that, even we can see and work when there is no network available (flight mode or in remote area). Whenever device/app detects network, then either the user can invoke saving operation into server or the application can automatically triggers event to save data. Silverlight did a great job in this aspect. But, in the case of an ASP.NET/HTML application, how can it be done?. For the same purpose, HTML 5 introduces a MIME type manifest and local storage.  It mainly adds one manifest file to load all required recourses. This walkthrough is to demonstrate how we can create/develop offline/online application using MVC 3. I will first create an ASP.NET MVC 3 empty app using VS 2010 and I will add offline htm page to the project. The HTML page will