IsolatedStorage and cleaning up

  • Thread starter Laurent Bugnion [MVP]
  • Start date
L

Laurent Bugnion [MVP]

Hi,

Now it's my turn to have a question about IsolatedStorage: Do I have to
worry about cleaning up? I want to use this store to save user settings
from an XBAP application. Are the files located in this storage
permanently there? Do I need to clean up? What about a standalone
application? Are the files removed when the application is uninstalled?

Thanks,
Laurent
 
L

Laura T.

The isolated storage size is constrained.
At default it's about 10MB, as documented at
http://msdn.microsoft.com/library/d...s/cpguide/html/cpconquotasisolatedstorage.asp

So you need to manage it by yourself (check
http://msdn.microsoft.com/library/d...us/cpguide/html/cpconUsingIsolatedStorage.asp).
If you don't add custom steps on the uninstaller, the isolated storage will
not get removed when uninstalling the product.
Don't know if it's a feature or bug, but this happens, at least for me.


http://msdn.microsoft.com/library/d...us/cpguide/html/cpconUsingIsolatedStorage.asp
 
L

Laurent Bugnion [MVP]

Hi,
The isolated storage size is constrained.
At default it's about 10MB, as documented at
http://msdn.microsoft.com/library/d...s/cpguide/html/cpconquotasisolatedstorage.asp

So you need to manage it by yourself (check
http://msdn.microsoft.com/library/d...us/cpguide/html/cpconUsingIsolatedStorage.asp).
If you don't add custom steps on the uninstaller, the isolated storage will
not get removed when uninstalling the product.
Don't know if it's a feature or bug, but this happens, at least for me.

That's annoying. I write more and more XBAPs which, almost by
definition, don't get uninstalled, but may use IsolatedStorage. I find
it kind of hard to accept that once the XBAPs leave the cache, the files
remain in the IsolatedStorage. I'll ask MS about that.

Thanks,
Laurent
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top