Just looking for an answer to the question originally posed in http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=151672 Basically, what are the advantages/disadvantages of storing configuration data in Globals vs. AppSettings? Thanks
I usually expose many of my app settings through properties on the Global class. These properties are readonly, and just grab the settings out of the Configuration.AppSettings. I like this approach because it provides a safe wrapper around the config settings
to do validation, defaults, etc. You might want to take a look at the Configuration Application Block as well.
aspx_idiot
Member
97 Points
20 Posts
globals vs ConfigurationSettings.AppSettings
Aug 02, 2003 02:33 PM|LINK
RMD
Member
734 Points
172 Posts
Re: globals vs ConfigurationSettings.AppSettings
Aug 04, 2003 06:19 PM|LINK