首页 新闻 赞助 找找看

读取config文件

0
悬赏园豆:10 [已关闭问题] 关闭于 2017-04-11 11:21

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <add key="localUrl" value="C:\custom3d2017\cloud3d"/>
  </appSettings>
  <system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding name="WebService1Soap" />
      </basicHttpBinding>
    </bindings>
    <client>
      <endpoint address="http://192.168.0.197:81/WebService1.asmx" binding="basicHttpBinding"
        bindingConfiguration="WebService1Soap" contract="localhost.WebService1Soap"
        name="WebService1Soap" />
    </client>
  </system.serviceModel>
</configuration>

 

怎么读取edpoint中的address,

Like金的主页 Like金 | 初学一级 | 园豆:42
提问于:2017-04-11 10:29
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册