Mon ami a l'app.config suivant. Il veut obtenir la valeur de address
. comment faire?comment obtenir cette valeur de configuration à partir de app.config?
<configuration>
<system.serviceModel>
...
<client>
<endpoint address="http://ldo:8080/LLService" binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding_ILLService" contract="LLServiceReference.ILLService"
name="WSHttpBinding_ILLService">
<identity>
<userPrincipalName value="[email protected]" />
</identity>
</endpoint>
</client>
</system.serviceModel>
...
</configuration>
ce qui est la valeur que nous devrions passer dans la méthode ServiceModelSectionGroup.GetSectionGroup? – 5YrsLaterDBA
Il est susceptible de provenir de 'ConfigurationManager.OpenExeConfiguration' –