问题
Can anyone provide some links to good information on setting up Silverlight 2.0 to authenticate to a WCF Service through ASP.NET Forms Authentication?
回答1:
I guess this link could help you http://silverlightuk.blogspot.com/2008/03/silverlight-wcf-and-aspnet.html
回答2:
Here's a good place to get started. The technology that allows you to use ASP.NET Forms Auth in SL2 is called ASP.NET Application Services - it's easy to use.
http://msdn.microsoft.com/en-us/library/cc838250(VS.95).aspx
回答3:
Kevin Rohling put together a great walk through for doing ws-security with SL 2 a little while back. You could probably plug your logic into the hooks in his example. Check it out here: http://geekswithblogs.net/SunnyCoder/archive/2009/03/15/username-password-amp-ws-security-with-silverlight.aspx
Cheers
来源:https://stackoverflow.com/questions/890310/silverlight-asp-net-wcf-authentication-2-0