Monday, March 26, 2012

OpenWebConfiguration

Does WebConfigurationManager.OpenWebConfiguration(strin g) only open the
web.config file regardless of the argument string?

ex:
Configuration config =
WebConfigurationManager.OpenWebConfiguration("~/myFile.config");

When I use the above code, the web.config file is always opened - never
myfile.config.I've resolved this issue by using a derivation of the code located at:
http://www.codeproject.com/csharp/c...file_reader.asp

0 comments:

Post a Comment