0
當我添加一個服務silverlight是基本而不是wsHttpBinding。什麼可能導致這種情況,我該如何避免它?這是我的web.config:silverlight picking基本而不是wsHttpBinding
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.serviceModel>
<standardEndpoints />
<bindings />
<services>
<service name="Service2">
<endpoint binding="wsHttpBinding" bindingConfiguration="" name="Service2Endpoint"
bindingName="wsHttpBindingFirst" contract="IService2" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
</system.serviceModel>
</configuration>