Store data "inside" app without storing it in databases

SergeyPolezhaevSergeyPolezhaev ✭✭RUMember ✭✭

Hello! I have the following situation: I have some models in which I deserealize data from XML (which was received by GET request). Then i want to use these objects everywhere in app. How to store them? I don't want to store this data in local databases.

P.S. I use MVVM


  • ClintStLaurentClintStLaurent ✭✭✭✭✭ USUniversity ✭✭✭✭✭

    How about saving the XML to a file on the device? Then each time the app is launched it can deserialize even when the device isn't on the internet. From that point it all the same... deserialize and use.

  • ConorCodesConorCodes ✭✭ USMember ✭✭

    @SergeyPolezhaev I've saved to local XML files like @ClintStLaurent mentioned. Accessing file systems is slightly different than the standard System.IO. The PCL dosen't support System.IO so i use the plugin which is great!

Sign In or Register to comment.