Hello Keith,
What you can do is create two services, the first will handle the Windows authentication and the second will handle the Basic authentication. If Windows authentication fails you can fallback to Basic authentication.
One service with BasicHttpBinding cannot support multiple authentication mechanisms, because the ClientCredentialType is a single object and not a collection and the HttpClientCredentialType enumeration does not contain mixed modes.
Multiple Authentication Support will come with WCF 4.5 - until then you will have to use workarounds.
Greetings,
IvanY
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license!
Book your seat now >>