Link to home
Start Free TrialLog in
Avatar of gswitz
gswitz

asked on

reading from web.config

On an app status page, I just want to show the endpoint name in my web.config

So I want something as simple as this...
ConfigurationManager.AppSettings["client"];

That returns
<system.serviceModel>
<client>
<endpoint address="MyAddress"
                binding="xx"
                bindingConfiguration="xx"
                behaviorConfiguration="xx"
                contract="xx"
                name="xx" />

I want to get MyAddress from the above section of the web.config.
ASKER CERTIFIED SOLUTION
Avatar of Johny Bravo
Johny Bravo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gswitz
gswitz

ASKER

TY