我有一个 Web 应用程序,我想在其他配置文件(而不是 Web.config)中设置我的端点。这个怎么做?
我尝试configSource
在某些标签中设置属性,但它不起作用。
Web.config 的结构:
<configuration>
//Some configurations
<system.serviceModel>
<bindings>
<basicHttpBinding>
//Some bindings
</basicHttpBinding>
</bindings>
<client>
//Endpoints
</client>
</system.serviceModel>
</configuration>