WCF(HTTPS,UserName) calling by SilverLight

Posted by Andrew Kalashnikov on Stack Overflow See other posts from Stack Overflow or by Andrew Kalashnikov
Published on 2010-03-24T08:11:24Z Indexed on 2010/03/25 14:03 UTC
Read the original article Hit count: 484

Filed under:
|
|
|

Hello colleagues. I've created wcf service with transport security over HTTPS. Also I use UserName authentication as described at http://msdn.microsoft.com/en-us/library/cc949025.aspx, so I can use my Membership,RoleProvider. When I work with this service with ASP.NET all is OK

  var client = new RegistratorClient();
  client.ClientCredentials.UserName.UserName = ConfigurationManager.AppSettings["registratorLogin"];
  client.ClientCredentials.UserName.Password = ConfigurationManager.AppSettings["registratorPassword"];

But at my SilverLight appliation I can't do the same. When I try setup credntials and call wcf I get standard browser window with username and password. When I insert it SL application works well, but this message is so annoyed. I can't use clientCredentialType="Basic" at my SL config.

What should I do for silence calling my WCF.

Big thanks

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about wcf