Silverlight 2.0 Authentication Services.
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
Cheers
Al
Follow me in twitter | bookmark me | Subscribe to my feed



Comments
Silverlight 2.0 Authentication Services | Silverlight Travel said on 7.01.2009 at 9:51 PM
Pingback from Silverlight 2.0 Authentication Services | Silverlight Travel
Silverlight 2.0 Authentication Services. : Al Pascual said on 7.07.2009 at 1:44 PM
Pingback from Silverlight 2.0 Authentication Services. : Al Pascual