Mixing anonymous and windows authentication in RIA Domain Service RRS feed

  • Question

  • I have couple of domain services in my Silverlight RIA solution. I am using Windows Authentication and things work good.

    Now, I exposed one domain service over SOAP endpoint and I want ONLY this domain service to allow anonymous access. Is there a way to achieve this ?

    Enabling both Windows and Anonymous authentication for the app pool in IIS will make site inaccessible outside of the machine hosting IIS.

    • Moved by Haixia_XieModerator Thursday, December 6, 2012 6:06 AM ria service (From:Accessing Web Services with Silverlight )
    Wednesday, December 5, 2012 12:36 AM


  • That is a WCF limitation that it only supports one type of authentication at a time. You could move that DomainService into a separate web application on the web server which would allow you to support anonymous authentication only for that DomainService. On the client, you can change the URL to the DomainService through the constructor of the DomainContext.

    http://www.riaservicesblog.net | RIA Services and MVVM http://bit.ly/pgL97k

    Thursday, December 6, 2012 5:02 PM