I'm able to host a "normal" basichttp service with IIS and access it over the local network. The problem is, that I'm trying to do a duplex service and host it in IIS.
My Web.Config:
<system.serviceModel>
<services>
<service behaviorConfiguration="BaseBehavior" name="RegistrationService">
<endpoint binding="wsDualHttpBinding" bindingConfiguration="wsDualHttpBind" name="RegistrationService" contract="Service" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="BaseBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<wsDualHttpBinding>
<binding name="wsDualHttpBind" sendTimeout="00:01:00">
<security mode="None">
<message clientCredentialType="None" />
</security>
</binding>
</wsDualHttpBinding>
</bindings>
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
</configuration>
The error message i get when i open "http://localhost /Service/Service.svc" :
"The contract requires "duplex" binding "BasicHttpBinding 'does not support this, and the support was not configured correctly."
I googled and found different settings for the web.config but none worked. My guess is, that the web.config is wrong.