Take Control of Your Web.Config(derans.blogspot.com)
submitted by
derans(323) 2 years ago
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
|Views: 462
tags:
ASP.NET another
Everyones tags:
Your Tags: