【发布时间】:2013-04-04 08:00:36
【问题描述】:
我有一个 Web 应用程序,我想在其他配置文件(而不是 Web.config)中设置我的端点。这该怎么做?
我尝试在某些标签中设置属性configSource,但它不起作用。
Web.config 的结构:
<configuration>
//Some configurations
<system.serviceModel>
<bindings>
<basicHttpBinding>
//Some bindings
</basicHttpBinding>
</bindings>
<client>
//Endpoints
</client>
</system.serviceModel>
</configuration>
【问题讨论】:
标签: .net asp.net-mvc web-config endpoint