To access ConfigurationManager from the class library, I need to add a reference to the System.Configuration .Net assembly.
If you don't like having the settings in both places, you could retrieve the configuration values for the web application by using the class library (app.config), and remove the configuration values from the web.config.
No comments:
Post a Comment