I have some business objects which use:
Web.Configuration.WebConfigurationManager.AppSettings.Item('SomeSetting')
Now that I’m breaking those objects into their own library, it feels dirty to take a dependency on System.Web when nothing else in the library has anything to do with web.
What is the proper way to do this?
UPDATE: Found this example showing per-assembly config files. Is this a bad idea?
Put it in web.config and call ConfigurationManager.AppSettings[‘KEY’]
No need for system.web in your libraries.