locked
Http server call caching

    Question

  • Hi,

    I am making Http server call to get the data, I want to cache the server call for later if I do the same request to the server, if there is any changes in database, make this request to server.

    I am creating Window store app using C# XAML.

    Thanks,

    Rajeev

    Friday, March 7, 2014 3:16 PM

Answers

  • Go for it.

    You can cache your data in a file or in a database. How is best will depend on the data and how much of it there is.

    --Rob

    Friday, March 7, 2014 4:08 PM
    Owner
  • The File access sample demonstrates how to write a file. How to deal with your specific data will depend on the data.

    --Rob

    Saturday, March 8, 2014 1:16 AM
    Owner

All replies

  • I am getting data from server using HTTP call and these data are not changed later, I want to cached these data in application and I want to use these data when ever I need later. 

    Creating Window store app using C# XAML.

    Thanks,

    Rajeev

    Friday, March 7, 2014 3:09 PM
  • Go for it.

    You can cache your data in a file or in a database. How is best will depend on the data and how much of it there is.

    --Rob

    Friday, March 7, 2014 4:08 PM
    Owner
  • Hi Rob,

    Can you send me an example to cache the data  in file.

    Thanks,

    Rajeev

    Friday, March 7, 2014 4:27 PM
  • The File access sample demonstrates how to write a file. How to deal with your specific data will depend on the data.

    --Rob

    Saturday, March 8, 2014 1:16 AM
    Owner