Message based authentication managed by Silverlight not the browser.
Silverlight can use the browsers cookies and send them to the hosts. When you authenticate with ASP.NET the authentication cookie stored to your computer will be used by Silverlight if you create a Silverlight Authentication Service
Create a service.svc make sure to select the Silverlight Service.
<%@ ServiceHost Language="C#" Service="System.Web.ApplicationServices.AuthenticationService %>
On your web.config add the service to be enable it.
<!-- this enables the WCF AuthenticationService endpoint --> <service name="System.Web.ApplicationServices.AuthenticationService" behaviorConfiguration="AuthenticationServiceTypeBehaviors"> <endpoint contract="System.Web.ApplicationServices.AuthenticationService" binding="basicHttpBinding" bindingConfiguration="userHttp" bindingNamespace="http://asp.net/ApplicationServices/v200"/> </service>
Then just connect to the service as a service web reference and use the methods for the authentication
Related posts
http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx
http://blogs.msdn.com/brada/archive/2008/06/23/using-asp-net-authentication-in-a-web-service-with-silverlight.aspx
Cheers
Al
Follow me in twitter | bookmark me | Subscribe to my feed