6
shouts

Take Control of Your Web.Config

published 38 days, 21 hours, 2 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 39 days, 2 hours, 28 minutes ago
Wednesday, February 03, 2010 10:45:04 AM GMT Wednesday, February 03, 2010 5:19:41 AM GMT

After reading a Paul Sheriff article in CODE Magazine, I ended up creating a base WebConfig class to handle getting values out of my web.config. I’ve hated the ConfigurationManager.AppSettings since they deprecated it from ConfigurationSettings.AppSettings. So now I have my own GetAppSetting so I never have to worry about it again.  My base class looks like this:

category: ASP.NET | clicked: 43 | | source: derans.blogspot.com | show counter code
tags: ASP.NET