The full .NET platform has a great feature for storing user options in Settings files, which conveniently support saving and loading. Has anyone created an analog to this for Silverlight? I'd like the settings to be stored client side.
+2
A:
Silverlight has an IsolatedStorage API as well - you can save/retrieve discrete elements via a dictionary as well as a full file system API in Isolated Storage.
- Create a class that can be serialized via XML (use the DataContractSerializer)
- Serialize object on close/Deserialize the object on open.
Michael S. Scherotter
2010-07-12 16:30:59