Warning: Undefined array key "oxygen-cache-1409" in /var/www/wordpress_jb/wp-content/plugins/jetpack/class.jetpack.php on line 5759

Warning: Undefined array key "oxygen-cache-1414" in /var/www/wordpress_jb/wp-content/plugins/jetpack/class.jetpack.php on line 5759

Warning: Undefined array key "oxygen-universal-styles" in /var/www/wordpress_jb/wp-content/plugins/jetpack/class.jetpack.php on line 5759

C#: Persisting User Settings After An App Upgrade

Posted on September 13, 2009

Seems like it should work without too much pain, but the fact of the matter is each time you increment the version on your application a new version folder will be created that is by default empty and the user.config file is empty which means the user config is lost and the user has to reconfigure the specific settings in the app.  Painful, and a bad user experience no less.

This is really simple to take care of by adding an additional setting in your application settings and modifying code in the settings.cs file.

Jim Scott covers the process here.  Happy Coding!

About JB

I've been a technologist for over 20 years, getting my start in IT with a large Fortune 100 international retailer in the 1990s. I love to talk about new technology, mobile devices, software development, photography, and the weather.  The opinions expressed on this blog are my own.

Follow me

Copyright © Justin Braun.  All rights reserved.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram