Passing windows credential from Silverlight app to WCF Service RRS feed

  • Question

  • If I log as a domain pc user for instance “domain_name/user_name” how can I pass it to WCF service from Silverlight application?

    The WCF service is hosted in IIS and I am using basicHttpBinding. The common utilities layer has a custom class that encapsulates role based groups. We use this class to authorise access to pages on the asp.net website. I want to use the same class to authorize the client calling the service method and need to pass client’s windows credential to the service.

    Is there any event that is raised on the service host when a client makes method calls, where I should perform the authorisation or is the actual service method that should perform the authorisation before performing the method logic? Please suggest


    Friday, April 2, 2010 9:41 PM


All replies