Applies to Silverlight 3, 4, and 5
In the previous recipe, we used the
IsolatedStorageFile class to manually perform the saving to and reading from isolated storage. While this option is the most powerful one—it allows us to save anything varying from raw data to images—it's quite a cumbersome task to perform all the serializing and deserializing of objects ourselves. Although we used the easy-to-work-with LINQ-to-XML, there is an even easier solution: letting Silverlight take care of this detail. In this recipe, we'll do just that by using the
In this recipe, we are going to refactor the code from the previous recipe. You can therefore continue working on that codebase. ...