Differences

This shows you the differences between two versions of the page.

Link to this comparison view

it:ad:patterns:appsettings_are_dead_strategy [2019/03/24 12:17] (current)
Line 1: Line 1:
 +# IT:​AD:​Patterns:​AppSettings Are Dead Strategy #
 +
 +
 +<callout type="​Navigation"​ class="​small">​
 +* [[../​|(UP)]]
 +
 +
 +</​callout>​
 +
 +
 +## Summary ##
 +
 +I have a real thing against .NET `AppSettings`,​ and hate their use for a couple of reasons. ​
 +
 +First of all, `AppSettings` were deprecated 10 years ago in favour for .NET20'​s typed+defaultSettingCapable `ApplicationSettings`. But strangely enough, nobody took any notice of this change... ​
 +
 +Secondly, if the first reason were not enough, they'​re `xml` `config` file based, and some .NET platforms (eg CF) are *not* config based, so something as crucial to your app as your settings become unportable. Sounds like a poor strategy for getting ready for mobile work, over the wire, etc.
 +