Demonstrated issues:

Prerequisities:

Steps:

  1. Create a new Silverlight application, name it 'IsolatedStorage'. Do not create a hosting ASP.NET application, the isolated storage works also for Silverlight applications run from file:// addresses.
  2. Create a tree representing the directory structure stored in the isolated storage:
  3. Create a list of files stored in the selected directory:
  4. The quota for the isolated storage can be increased, but the user must agree:
  5. In the last empty cell in our grid we will put an Image where a preview of a selected file will be displayed (of course, in case of selecting an image file).
  6. Deleting a file (and also a directory) from the isolated storage is quite simple:
  7. The last thing to be done in our application is 'getting files', i.e. copying from the isolated storage back to the file system.
  8. Application exceptions

[Source code]