|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
IsolatedStorage and cleaning upHi,
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 -- Laurent Bugnion [MVP ASP.NET] Software engineering, Blog: http://www.galasoft-LB.ch PhotoAlbum: http://www.galasoft-LB.ch/pictures Support children in Calcutta: http://www.calcutta-espoir.ch The isolated storage size is constrained.
At default it's about 10MB, as documented at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconquotasisolatedstorage.asp So you need to manage it by yourself (check http://msdn.microsoft.com/library/default.asp?url=/library/en-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/default.asp?url=/library/en-us/cpguide/html/cpconUsingIsolatedStorage.asp Show quote "Laurent Bugnion [MVP]" <galasoft***@bluewin.ch> ha scritto nel messaggio news:%23HzoXm6ZHHA.3628@TK2MSFTNGP02.phx.gbl... > 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 > -- > Laurent Bugnion [MVP ASP.NET] > Software engineering, Blog: http://www.galasoft-LB.ch > PhotoAlbum: http://www.galasoft-LB.ch/pictures > Support children in Calcutta: http://www.calcutta-espoir.ch Hi,
Laura T. wrote: > The isolated storage size is constrained. That's annoying. I write more and more XBAPs which, almost by > At default it's about 10MB, as documented at > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconquotasisolatedstorage.asp > > So you need to manage it by yourself (check > http://msdn.microsoft.com/library/default.asp?url=/library/en-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. 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 -- Laurent Bugnion [MVP ASP.NET] Software engineering, Blog: http://www.galasoft-LB.ch PhotoAlbum: http://www.galasoft-LB.ch/pictures Support children in Calcutta: http://www.calcutta-espoir.ch |
|||||||||||||||||||||||