WCF with Windows authentication

I ran into this problem because I wanted a WCF service hosted in IIS 7.5/8 on a website that had Windows Authentication enabled.
The service configuration looks much simpler in the config file of the web application hosting the WCF service:

Server configuration:

Remember to set this to the WCF service:

Client configuration:

I ended up using basicHttpBinding as explained in the article . Client config is generated using “svcutil”.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.