SilverlightShow: Connecting to the SqlMembership model through Silverlight and WCF Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples en-us SilverlightShow.net estoychev@completit.com (Emil Stoychev) Argotic Syndication Framework, http://www.codeplex.com/Argotic http://www.rssboard.org/rss-specification RE: Connecting to the SqlMembership model through Silverlight and WCF http://www.silverlightshow.net/items/Connecting-to-the-SqlMembership-model-through-Silverlight-and-WCF.aspx#comment2631 <p>Hi guys,</p> <p>I am an beginner in Silverlight, and iam looking for one tutorial about login and the persistence of the logged user in the system, but using a custom process of login... i found some tutorials that explain using the asp.net menbership, but just few tipes using just the silverlight engine. Do you know some tutorial to help me do this thing?</p> <p>Thanks!</p> ( Diego Silva Pires) http://www.silverlightshow.net/items/Connecting-to-the-SqlMembership-model-through-Silverlight-and-WCF.aspx Fri, 06 Nov 2009 00:32:34 +0300 RE: Connecting to the SqlMembership model through Silverlight and WCF http://www.silverlightshow.net/items/Connecting-to-the-SqlMembership-model-through-Silverlight-and-WCF.aspx#comment2629 I have used the membership services in by aspx and Silverlight... however, they do not work together seemlessly as they should.  It appears like I have to hack it to get it to work.  If either my AJAX or Silverlight clients called a web service.. the session should be the same. ( Donald) http://www.silverlightshow.net/items/Connecting-to-the-SqlMembership-model-through-Silverlight-and-WCF.aspx Thu, 05 Nov 2009 05:31:16 +0300 RE: Connecting to the SqlMembership model through Silverlight and WCF http://www.silverlightshow.net/items/Connecting-to-the-SqlMembership-model-through-Silverlight-and-WCF.aspx#comment2626 <p>Also, there are existing service for interact with asp.net membership.</p> <p><a href="http://msdn.microsoft.com/en-us/library/bb398990.aspx">http://msdn.microsoft.com/en-us/library/bb398990.aspx</a></p> <p><a href="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/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx</a></p> ( Sergey) http://www.silverlightshow.net/items/Connecting-to-the-SqlMembership-model-through-Silverlight-and-WCF.aspx Wed, 04 Nov 2009 22:52:11 +0300 RE: Connecting to the SqlMembership model through Silverlight and WCF http://www.silverlightshow.net/items/Connecting-to-the-SqlMembership-model-through-Silverlight-and-WCF.aspx#comment2625 Thanks for your comment, Donald. <p>ASP.NET works perfectly with the SqlMembership model (the whole membership model was designed for ASP.NET in the first place). Obviously the correct way of integrating the authentication on both ASP.NET and Silverlight depend on what the total application looks. One way could be to assign a token to each user as they log in. You could then pass this token to the Silverlight applications through a parameter in the object tag and use it to validate if a users session is still active and/or pass it around as a way to authenticate requests to services.</p> <p>I Hope that answers your question.</p> Greets, <p>Jonathan</p> <br /> ( mrjvdveen) http://www.silverlightshow.net/items/Connecting-to-the-SqlMembership-model-through-Silverlight-and-WCF.aspx Wed, 04 Nov 2009 12:33:08 +0300 RE: Connecting to the SqlMembership model through Silverlight and WCF http://www.silverlightshow.net/items/Connecting-to-the-SqlMembership-model-through-Silverlight-and-WCF.aspx#comment2624 Since Silverlight is hosted in a aspx page... how can silverlight and aspx share the same login?  More than often there will be a mix of aspx pages and Silverlight.. would be nice to have a single login that could be share between the 2. ( Donald) http://www.silverlightshow.net/items/Connecting-to-the-SqlMembership-model-through-Silverlight-and-WCF.aspx Wed, 04 Nov 2009 12:14:00 +0300