I’m making a visual studio 2010 extension and need some storage to store some settings like: a list of recent files, ui control state, some user preferences, etc…
Which should I use, and why?
the WritableSettingsStore or the IsolatedStorageFile ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
They are both viable. I’m currently using isolated storage to store settings for both a vsx and related control designers.
I can tell you that it works perfectly fine. Once implemented, I haven’t had to go back and change anything or fix corner case bugs.
If I were to do it over again… I’m not sure if I would go with ISF or the WSS. WSS has the advantage of being built for use by visual studio extensions, which means it is bulletproof. But the API is a bit harder to deal with.
Your choice should be based on which is easier for you to implement and support.