C
christopher green
I have a solution that comprises a web based project and a console
application. Web.Config holds attributes that I want to access from my
console application, can anyone advise me as to how to do this?
Restructuring the project to put the values into a database is not an
option.
Is there someway of invoking a web context to allow access to web.config
or should I use a FileStream and read web.config into an xml doc and
parse? If so does any one have any examples of the xml?
Many thanks.
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
application. Web.Config holds attributes that I want to access from my
console application, can anyone advise me as to how to do this?
Restructuring the project to put the values into a database is not an
option.
Is there someway of invoking a web context to allow access to web.config
or should I use a FileStream and read web.config into an xml doc and
parse? If so does any one have any examples of the xml?
Many thanks.
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!