Wrap all calls to isolated storage within try/catch blocks to be resilient to potential IsolatedStorageExceptions, which can be thrown if isolated storage is disabled or if the store has been deleted.
If your Silverlight application needs to store a lot of data in isolated storage, consider hosting it on its own site so that it won't affect other applications on the site and other applications won't affect it.
If you have a group of Silverlight applications that need to share data on the client, host them on the same site.
如果几个Silverlight应用程序需要在客户共享数据,把它们放在同一网站下。
Keep isolated storage paths as small as possible to prevent the internal full path from reaching the 260-character limit.
让独立存储的路径越小越好,避免路径长度达到260个字符的限制。
Encrypt sensitive data stored in isolated storage.
加密保存在Isolated Storage里的敏感数据,因为它们实际是文本文件,直接可读的。
Use IsolatedStorageSettings to store objects and simple settings in isolated storage.
使用IsolatedStorageSettings来储存对象和简单的设置。
Use IsolatedStorageFile if you want to use file and stream-based APIs, are storing large amounts of data, or need fine-grained control over the contents of isolated storage.