[WPSL] create a app online and offline. RRS feed

  • Question

  • Hi All,

    I want to create a windows phone 8 app ,it working both offline and online.For example in first time we show the data(text and image) from online after downloading all the data it will show offline.Also we maintain a local database.It will upload all offline task( like comment,post,review) to online(if internet is available),I am new in windows please suggest how to implement  that .

    Tuesday, July 14, 2015 5:39 AM


  • Hello,

    >>I want to create a windows phone 8 app ,it working both offline and online

    For this kind application, an import pattern is how to sync data between your client and the service, for how to implement this pattern, you could have a check this link:


    It provides scenarios about:

             1.How to use a periodic task to download data from a cloud service to a Windows Phone device, in the background.

             2.How to use a resource-intensive task to upload data from a Windows Phone device to a cloud service, in the background.

             3.How to use reactive extensions to run synchronization tasks asynchronously and in parallel.

    For the service, you could have a try the azure and here is link which provides a completed example about your requested scenario: when offline, your client app uses your local database data, and when online, the cloud service helps sync the data between your local and cloud side:

    Using offline data sync in Mobile Services

    In this link, it would show you how Azure Mobile Services offline features allow you to interact with a local database when you are in an offline scenario with your Mobile Service. The offline features allow you to sync your local changes with the mobile service when you are online again.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, July 15, 2015 7:13 AM