找不到配置绑定扩展'system.serviceModel / bindings / true'

时间:2014-03-23 07:55:32

标签: wcf

配置绑定扩展' system.serviceModel / bindings / true'无法找到。 验证此绑定扩展是否已在system.serviceModel / extensions / bindingExtensions中正确注册,并且拼写正确。

我已经为.NET 3.5安装了Service Pack 1                                                                                           

        <add baseAddress="net.tcp://localhost:8090/"></add>
      </baseAddresses>
    </host>

  </service>
</services>
<behaviors>
  <serviceBehaviors>
    <behavior name="mexBehaviour">
      <serviceMetadata httpGetBinding="true" httpGetEnabled="true"/>

      </behavior>
    </serviceBehaviors>
    </behaviors>

  </system.serviceModel>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>   
   </configuration>

请帮助我错误的地方?

1 个答案:

答案 0 :(得分:0)

httpGetBinding="true"是指绑定名称,可能您只是无法删除httpGet Binding属性并尝试使用默认值。退房:MSDN