我正在开发一个将消耗大量Web服务的Web应用程序(ASP.NET 3.5).我为每个Web服务创建了一个单独的dll项目:这些项目包含服务引用和客户端代码.
但是,调用网站必须在其web.config中包含<system.serviceModel>信息(<bindings>和<client>节点),即使这些信息也在dll的app.config文件中!我已经尝试将serviceclass.dll.config复制到网站的bin目录,但这没有帮助.
<system.serviceModel>
<bindings>
<client>
有没有办法集中配置WCF客户端?
asp.net wcf service-reference wcf-configuration
asp.net ×1
service-reference ×1
wcf ×1
wcf-configuration ×1