I need to access the web.config file in a class. I am now using the line:
rootWebConfig1 = WebConfiguratio nManager.OpenWe bConfiguration( "~")
to get a reference to the config file. The question is the correct way to
get the config file in classes. There is only one config file and it is in
the root of the web site. I do not want to use a path since the location of
the web site can change. The classes will be in the App_Code dir.
Thank you,
--
Jerry
Comment