I'm using RESTful WCF services to serve data to a client. The application hosting the services requires integrated Windows Authentication on the server, making testing locally in Cassini quite difficult. I use the following behavior configuration for my service, which works great when deployed to IIS with Integrated Security turned on.
<webHttpBinding>
<binding name="InstaCheckServiceWebHttpBinding">
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Windows" />
</security>
</binding>
</webHttpBinding>
But with this configuration the app throws the following error when I try to call the web services when debugging locally in Visual Studio.
Security settings for this service require 'Windows' Authentication but it is not enabled for the IIS application that hosts this service
Is there a way to include integrated Windows Auth when using Visual Studio's built-in web server, or some other workaround to this issue?
Thanks!