While watching the MSDN Nugget on Application Settings in Visual Studio 2005, I found a couple of things I found weird about the default application settings provider,
- When saving to Application Data\<Application>\<Assembly>\<Version>, the provider ignores the fact that there is already a mechanism called Isolated Storage already built-into the .NET Framework and instead implements it by itself. This feels like the NIH (Not Invented Here) antipattern.
Isolation is by either the tuple (Assembly, User, Version) or the tuple (Assembly, Version), so settings do not survive versioning.Fabrice explains in a comment that this is what the Upgrade method is for. Cool.
These might be true for other providers, but I haven’t checked them out yet. Anyone from Microsoft care to shed some light on these?