Windows authetication with Silverlight custom binding.

Posted by sfx on Stack Overflow See other posts from Stack Overflow or by sfx
Published on 2010-05-16T23:12:30Z Indexed on 2010/05/16 23:20 UTC
Read the original article Hit count: 241

Filed under:
|
|
|

Hello,

I am trying to set up security within a web.config file for a WCF service hosted in IIS but keep getting the error message:

Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.

I have read Nicholas Allen’s blog (link text) and it appears that this is the route that I need to take. However, I am using “binaryMessageEncoding” in a customBinding for my Silverlight service, and as such, I’m not sure how to apply this type of security to such an element. This is how my custom binding looks in config at present:

<customBinding>             
  <binding name="silverlightBinaryBinding">          
    <binaryMessageEncoding />
    <httpTransport />
  </binding>
</customBinding>

Has anyone had any experience getting Windows authentication to work with a custom binding using binaryMessageEncoding?

Cheers,

sfx

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about wcf