Configuration and location section

S

shaharh

Hi
I need to get the location sections in runtime:
<?xml version="1.0"?>
<configuration>
<system.web>
...
<system.web>
<location>
</location>
<location>
</location>
</configuration>

here I expect to get 2 location sections, I try the
WebConfigurationManager.GetSection() and other method and I didn't find
any way to do so.
Any one know how to do that (I don't want to open the web.config with
the XMLDocument).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,470
Messages
2,571,809
Members
48,797
Latest member
PeterSimpson
Top