<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings>
<add key="IsacaWebServicesUrl" xdt:Transform="InsertIfMissing" xdt:Locator="Match(key)" />
<add key="IsacaWebServicesUrl" value="http://isaca_ws/api/v1/" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
</appSettings>
</configuration>
In the code:
System.Web.Configuration.WebConfigurationManager.AppSettings["IsacaWebServicesUrl"]
No comments:
Post a Comment