Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET - Best way to store application settings [duplicate]

Possible Duplicate:
What is the best way to store user settings for a .NET application?

Hello. What is the best way to store application settings in .Net 4.0? Windows Registry? Application.Settings?

What if I want to be able to update program and keep settings from older version (New version can have more new setting and some old ones deleted)?

What if I want to store collection of my custom objects?

I know there is similar question but it's about .Net 2.0. Maybe there are some new ways of saving settings in 4.0.

Thank you in advance.

like image 717
Hooch Avatar asked Oct 12 '22 11:10

Hooch


1 Answers

I don't think .NET 4 added anything new with regard to application settings.

See this for what's new in .Net 4. http://msdn.microsoft.com/en-us/library/ms171868.aspx

like image 57
BenCr Avatar answered Nov 16 '22 23:11

BenCr