I am using this binding configuration on client and server:
<basicHttpBinding>
<binding name="BasicHttpBinding_IService1">
<security mode="TransportWithMessageCredential">
<transport clientCredentialType="Windows" />
</security>
</binding>
</basicHttpBinding>
The client credentials seem to not be passed automagically (or are they?) this way like i assumed, so i need to know how to set them by myself. Will this even work?
I have found out the reason for this behavior was a faulty ASP.NET 4 installation which i had to reenabled. After that it “just worked”.
http://msdn.microsoft.com/en-us/library/k6h9cz8h.aspx