← Back to all blogs

Posts tagged with 'xmlserializer'

Serializing Lists to IsolatedStorage - Quick and Painless

Whether it's user settings or some quick data that I want to persist between runs of my application, I've often found a need for quickly saving and loading data from IsolatedStorage. Recently, I wrote an application that needed to store a list of users. On each run of the application the users are loaded, and on close of the application the users get saved. I wrote a simple pair of methods that serialized and deserialized my list of users from IsolatedStorage using the XmlSerializer class.