Home  /  Questions  /  Question

100   96.6
Mar 21, 2011

Is there a 'common' app storage place for multiple .NET platforms?

So here is a question.

Say, you're designing an app that ultimately runs on ASP.NET MVC, Winforms, WPF, Silverlight, and Windows Phone.  You need to store application settings, such as connection strings, app configuration settings, user preferences (ideally encrypted), in all these platforms and wish to avoid duplicate code.

Is there such a thing as a 'Universal' or common place to store application settings?  I think I know most of the options: registry, xml file, Application.Settings, etc, but what ties the different .NET platforms together?

370   99.9
Mar 22, 2011
As far as I know there is no such 'universal storage'. As you pointed out there are several options which you can wrap into storage providers or settings providers and have at least settings logic on one place. Or you can consider having all the data in the cloud :)