<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx</link><description>In ASP.NET 2.0, we introduced a very powerful set of application services in ASP.NET ( Membership , Roles and profile ).&amp;#160; In 3.5 we created a client library for accessing them from Ajax and .NET Clients and exposed them via WCF web services.&amp;#160;&amp;#160;&amp;#160;</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Silverlight 2 and Rich Internet Applications</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8460712</link><pubDate>Mon, 05 May 2008 18:37:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8460712</guid><dc:creator>Bob's Blog</dc:creator><description>&lt;p&gt;Abstract This series of articles takes a look at the current state of RIA development leveraging Silverlight&lt;/p&gt;
</description></item><item><title>Brad Abrams' ASP.NET Providers Example</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8460879</link><pubDate>Mon, 05 May 2008 19:48:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8460879</guid><dc:creator>Community Blogs</dc:creator><description>&lt;p&gt;URL : &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/brada/archive/2008/05/03/"&gt;http://blogs.msdn.com/brada/archive/2008/05/03/&lt;/a&gt;... I hate to just link other blogs, but this example&lt;/p&gt;
</description></item><item><title>Brad Abrams' ASP.NET Providers Example</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8460917</link><pubDate>Mon, 05 May 2008 20:03:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8460917</guid><dc:creator>Mirrored Blogs</dc:creator><description>&lt;p&gt;URL : &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/brada/archive/2008/05/03/"&gt;http://blogs.msdn.com/brada/archive/2008/05/03/&lt;/a&gt;... I hate to just link other blogs, but this example&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8460959</link><pubDate>Mon, 05 May 2008 20:17:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8460959</guid><dc:creator>BenHayat</dc:creator><description>&lt;p&gt;Brad, do you think SL 2 (by RTM) will get a built-in client library to use these services?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;..Ben&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8461012</link><pubDate>Mon, 05 May 2008 20:35:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8461012</guid><dc:creator>BradA</dc:creator><description>&lt;p&gt;&amp;gt; Brad, do you think SL 2 (by RTM) will get a built-in client library to use these services?&lt;/p&gt;
&lt;p&gt;Ben - Thanks for your interest.. I don't think there will be something productized in the SL2 timeframe, but it is something we are looking into in the future.&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8461822</link><pubDate>Tue, 06 May 2008 03:57:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8461822</guid><dc:creator>BenHayat</dc:creator><description>&lt;p&gt;Brad, thank you for the reply. This was a ver valuable blog.&lt;/p&gt;
&lt;p&gt;Let me ask you this. All those Web.Config setups and codes that you showed, where did you find and learn these from? Where they in Stefan's book? The reason I'm asking, if the security is not going to be in SL2, how can I go about implementing myself and have the proper resources to learn from?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;..Ben&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8461994</link><pubDate>Tue, 06 May 2008 05:59:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8461994</guid><dc:creator>BradA</dc:creator><description>&lt;p&gt;&amp;gt; All those Web.Config setups and codes that you showed, where did you find and learn these from? &lt;/p&gt;
&lt;p&gt;I found them all in public documentation on MSDN... now it turns out that many of them are in different places. &amp;nbsp;We need to do a better job of pulling those togehter into a single place (like I have done here).. &amp;nbsp;We will work on that for the SL2 timeframe!&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8462005</link><pubDate>Tue, 06 May 2008 06:04:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8462005</guid><dc:creator>Byron</dc:creator><description>&lt;p&gt;I would be good if these services were also made available for Win2000 Server, like AJAX extensions, as many of our customers have not yet move to newer servers.&lt;/p&gt;
</description></item><item><title>ASP.NET membership authentication ed authorization in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8462581</link><pubDate>Tue, 06 May 2008 12:15:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8462581</guid><dc:creator>Borsalino Moreno</dc:creator><description>&lt;p&gt;ASP.NET membership authentication ed authorization in Silverlight&lt;/p&gt;
</description></item><item><title>SilverlightShow.net</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8462969</link><pubDate>Tue, 06 May 2008 16:26:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8462969</guid><dc:creator>SilverlightShow.net</dc:creator><description>&lt;p&gt;In ASP.NET 2.0, we introduced a very powerful s&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8463026</link><pubDate>Tue, 06 May 2008 16:42:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8463026</guid><dc:creator>BenHayat</dc:creator><description>&lt;p&gt;&amp;gt;&amp;gt;I found them all in public documentation on MSDN... now it turns out that many of them are in different places. &amp;nbsp;We need to do a better job of pulling those togehter into a single place (like I have done here).. &amp;nbsp;We will work on that for the SL2 timeframe!&amp;lt;&amp;lt;&lt;/p&gt;
&lt;p&gt;Thanks Brad;&lt;/p&gt;
&lt;p&gt;When you mentioned that the ASP.Net security system will not make it into SL2 as a production product, I understand that and we don't want delays on SL2. However, last night I was thinking all those components that are in ASP.Net (i.e. Create a new user, Forgot Password, Show logged in user and etc.) which we will need eventually &amp;nbsp;in SL. So, how about at least giving us some formal directions and docs, so at least we can role out our own version until the Std version is done by you guys? This way for those new apps that don't have the ASP backend, can still use these services.&lt;/p&gt;
&lt;p&gt;What you have done in the blog, was worth a million, it just needs a bit more to take it home all the way.&lt;/p&gt;
&lt;p&gt;Thank you for your efforts!&lt;/p&gt;
</description></item><item><title>Visual Studio Links #24</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8463219</link><pubDate>Tue, 06 May 2008 18:10:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8463219</guid><dc:creator>Visual Studio Hacks</dc:creator><description>&lt;p&gt;My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. Sara Ford's Tip of the Day #208 shows how to filter the Object Browser for just the current solution . JetBrains .Net Tools Blog has&lt;/p&gt;
</description></item><item><title>Silverlight Cream for May 06, 2008 -- #268</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8463996</link><pubDate>Wed, 07 May 2008 00:38:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8463996</guid><dc:creator>Community Blogs</dc:creator><description>&lt;p&gt;Tamir Khason on DrawingBrush, Mike Taulty on Uploading to Silverlight Streaming, Jesse Liberty on creating&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8464325</link><pubDate>Wed, 07 May 2008 03:17:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8464325</guid><dc:creator>itsmallmouse</dc:creator><description>&lt;p&gt;Can you show me how to use session (same a ASP.NET website) to save UserID, userPass in SL2&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8465921</link><pubDate>Wed, 07 May 2008 16:51:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8465921</guid><dc:creator>Karen</dc:creator><description>&lt;p&gt;Can I keep WCF service separately from Web and has autontication, profile and role access in WCF from web site's web config. I have written site with ASP.NET autontication, profile and role providers. Now I have added SilverLight which has to have access to loged in user's profile. I use WCF to get access to profile. But nothing happen because WCF and Web different projects and have different Web.config files. What can I do ?&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8465966</link><pubDate>Wed, 07 May 2008 17:27:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8465966</guid><dc:creator>Moreno Borsalino</dc:creator><description>&lt;p&gt;Congratulation Brad, finally someone wrote a clear description about authorization in Silverlight.&lt;/p&gt;
&lt;p&gt;I think you have to add some controls in SL2 for login stuff.&lt;/p&gt;
&lt;p&gt;My question here is another. Is there a way to define a session timeout for the login ?&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8465996</link><pubDate>Wed, 07 May 2008 17:54:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8465996</guid><dc:creator>Geordie</dc:creator><description>&lt;p&gt;Great article!&lt;/p&gt;
&lt;p&gt;What's next, maybe encrypted tickets, or setting up the database to handle the security &lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8466240</link><pubDate>Wed, 07 May 2008 20:28:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8466240</guid><dc:creator>Rui Marinho</dc:creator><description>&lt;p&gt;Hi there Brad, i have being messing with your examples in my app.. &lt;/p&gt;
&lt;p&gt;in my case, i use a normal aspx.net page to do the login, and then in the silverlgiht i get the role of &amp;nbsp;the user to see if i need to show or hide something..&lt;/p&gt;
&lt;p&gt;it works fine if i add the service reference of my localhost, but when i go to put my app online, i copy the service and webconfig, but when trying to see the roleservice.svc online i get the following error in :&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://iffiretv.ifthensoftware.com/RoleService.svc"&gt;http://iffiretv.ifthensoftware.com/RoleService.svc&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This collection already contains an address with scheme http. &amp;nbsp;There can be at most one address per scheme in this collection. &lt;/p&gt;
&lt;p&gt;Parameter name: item &lt;/p&gt;
&lt;p&gt;can u help me on this? &lt;/p&gt;
&lt;p&gt;after going by many blogs, i finally see in yours just what i was looking the integration betwwen silverlight and asp.net 2.0, thank you&lt;/p&gt;
&lt;p&gt;Rui&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8468570</link><pubDate>Thu, 08 May 2008 06:25:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8468570</guid><dc:creator>BradA</dc:creator><description>&lt;p&gt;&amp;gt;Can I keep WCF service separately from Web and has autontication, profile and role access in WCF from web site's web config. I have written site with ASP.NET autontication, profile and role providers. Now I have added SilverLight which has to have access to loged in user's profile. I use WCF to get access to profile. But nothing happen because WCF and Web different projects and have different Web.config files. What can I do ?&lt;/p&gt;
&lt;p&gt;Karen - If your goal is to store the profiles, roles, etc on machine A but expose the WCF services off another machine B then it might be best to build custom WCF services on B, that call into the services exposed off A... &lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8475474</link><pubDate>Fri, 09 May 2008 02:23:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8475474</guid><dc:creator>JeffR</dc:creator><description>&lt;p&gt;This is a great help, and I've used this tutorial as a base for a login control.&lt;/p&gt;
&lt;p&gt;I was wondering if there is a similarly elegant way to create and manage users instead of adding them through the ASP.NET Configuration page. &amp;nbsp;I would like to expose a registration page to the user where they can sign up. &amp;nbsp;As far as I know, the CreateUserWizard is not available through WCF so I'm not sure how to leverage that functionality.&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8476488</link><pubDate>Fri, 09 May 2008 05:10:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8476488</guid><dc:creator>BradA</dc:creator><description>&lt;p&gt;&amp;gt;I was wondering if there is a similarly elegant way to create and manage users instead of adding them through the ASP.NET Configuration page. &lt;/p&gt;
&lt;p&gt;Jeff -- thanks. &amp;nbsp;You are right we don't expose user management via the web services, but you could roll your own web services to do this pretty easily I think.. &amp;nbsp;just call into the ASP.NET implemention.&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8492970</link><pubDate>Mon, 12 May 2008 12:54:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8492970</guid><dc:creator>Fabien</dc:creator><description>&lt;p&gt;Hi Brad,&lt;/p&gt;
&lt;p&gt;Great article but unfortunately, I can't download the source code from: &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://brad_abrams.members.winisp.net/Projects/AppServicesInSilverlightMay08/ApplicationServicesDemo.zip"&gt;http://brad_abrams.members.winisp.net/Projects/AppServicesInSilverlightMay08/ApplicationServicesDemo.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Could you fix that asap please? There is something I want to check in your project because I have a problem with mine.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Fabien&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8494646</link><pubDate>Mon, 12 May 2008 18:12:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8494646</guid><dc:creator>BradA</dc:creator><description>&lt;p&gt;Fabien -- Sorry about that, my ISP was down this weekend.. they tell me it will be up sometime today.. &amp;nbsp;If it is urgent, send me an email and i will send you the attachment. &amp;nbsp;Check out the &amp;quot;Contact Me&amp;quot; section.&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8501919</link><pubDate>Wed, 14 May 2008 01:01:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8501919</guid><dc:creator>Brian H</dc:creator><description>&lt;p&gt;Brad,&lt;/p&gt;
&lt;p&gt;Thanks for the tutorial, I have been implementing this in my own project with some success but I have one problem that I'm hoping you have run into before.&lt;/p&gt;
&lt;p&gt;With the profile services I am able to work with it normally in VS development server but when I attempt to use IIS Web Server(on XP) it fails. The response code is [UnexpectedHttpResponseCode] a protocol exception. &lt;/p&gt;
&lt;p&gt;In fiddler the response tells me &amp;quot;You must log on to call this method&amp;quot; &lt;/p&gt;
&lt;p&gt;I should note that I update the service reference before testing on the local webserver. Any advice would be greatly appreciated. Thanks&lt;/p&gt;
&lt;p&gt;Brian&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8503617</link><pubDate>Wed, 14 May 2008 19:59:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8503617</guid><dc:creator>Rui Marinho</dc:creator><description>&lt;p&gt;Hi there brad, i have put u a question above, but u must forgot to answer... &lt;/p&gt;
&lt;p&gt;i have create an exaple like yours and it works fin if i add servicereference for WCF in my computer, but if i try to do this in a webserver we get the following error &lt;/p&gt;
&lt;p&gt;&amp;quot;This collection already contains an address with scheme http. &amp;nbsp;There can be at most one address per scheme in this collection. &lt;/p&gt;
&lt;p&gt;Parameter name: item&amp;quot;&lt;/p&gt;
&lt;p&gt;i think is related to the WCF factory something like that, but all the examples i saw to sovle this are with svs.cs codebehind. our services authservice, roleservice and profileserve don't have cs code...&lt;/p&gt;
&lt;p&gt;Do i have to create other .svc with codebehind, or can i just creat the class factory?&lt;/p&gt;
&lt;p&gt;can u give some lighs on this?!&lt;/p&gt;
&lt;p&gt;thanks very much in advance.&lt;/p&gt;
&lt;p&gt;Rui&lt;/p&gt;
</description></item><item><title>Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8518347</link><pubDate>Sun, 18 May 2008 21:44:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8518347</guid><dc:creator>Bilal Haidar [MVP, MCT]</dc:creator><description>&lt;p&gt;A great article by Brad Adams on accessing the ASP.NET Authentication, Profile and Role Services in Silerlight!&lt;/p&gt;
</description></item><item><title>Creating a custom Principal and Identity for Silverlight 2</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8531623</link><pubDate>Thu, 22 May 2008 14:20:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8531623</guid><dc:creator>My Blog On .NET</dc:creator><description>&lt;p&gt;Creating a custom Principal and Identity for Silverlight 2&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8535357</link><pubDate>Fri, 23 May 2008 02:49:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8535357</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;I think that in order to do the services access on a web server you need a clientaccesspolicy.xml file setup. (For those [UnexpectedHttpResponseCode] exceptions)&lt;/p&gt;
</description></item><item><title>Silverlight for the enterprises - authentication and authorization</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8554934</link><pubDate>Tue, 27 May 2008 17:31:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8554934</guid><dc:creator>Hanu Kommalapati's blog</dc:creator><description>&lt;p&gt;Brad has a great post on this subject at &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx"&gt;http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Logging in With Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8570278</link><pubDate>Tue, 03 Jun 2008 00:05:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8570278</guid><dc:creator>Techniques</dc:creator><description>&lt;p&gt;Over at Brad Abrams blog , he has a super article on Role based Security in Silverlight applications&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8571687</link><pubDate>Tue, 03 Jun 2008 18:48:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8571687</guid><dc:creator>vitya</dc:creator><description>&lt;p&gt;I couldn't find any resources on how to do the authentication if the user accounts are not &amp;quot;hardcoded&amp;quot; on the server. I have my users' data stored in SQL and (I guess) I would like to use my own authentication (forms authentication, within Silverlight). Is this at all possible? Can you point me to the right direction?&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8571788</link><pubDate>Tue, 03 Jun 2008 19:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8571788</guid><dc:creator>BradA</dc:creator><description>&lt;p&gt;&amp;gt;&amp;gt;&amp;gt;I couldn't find any resources on how to do the authentication if the user accounts are not &amp;quot;hardcoded&amp;quot; on the server. I have my users' data stored in SQL and (I guess) I would like to use my own authentication (forms authentication, within Silverlight). Is this at all possible? Can you point me to the right direction?&lt;/p&gt;
&lt;p&gt;Vitya, I beleive Stefan shows how to do this in his book... &lt;a rel="nofollow" target="_new" href="http://www.amazon.com/Professional-ASP-NET-Security-Membership-Management/dp/0764596985"&gt;http://www.amazon.com/Professional-ASP-NET-Security-Membership-Management/dp/0764596985&lt;/a&gt; &amp;nbsp;Once you have it accessable from ASP.NET, then accessing it from Silverlight is easy!&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8574124</link><pubDate>Thu, 05 Jun 2008 01:21:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8574124</guid><dc:creator>Richard Fencel</dc:creator><description>&lt;p&gt;Thanks for this utterly super, fantastic, right-on, unbelievably great, I-finally-got-what-really-to-know article. Just a few minor points that need correction:&lt;/p&gt;
&lt;p&gt;(1) The line in your description that reads:&lt;/p&gt;
&lt;p&gt;&amp;lt;%@ ServiceHost Language=&amp;quot;C#&amp;quot; Service=&amp;quot;System.Web.ApplicationServices.ProfileService&lt;/p&gt;
&lt;p&gt;should instead read:&lt;/p&gt;
&lt;p&gt;&amp;lt;%@ ServiceHost Language=&amp;quot;C#&amp;quot; Service=&amp;quot;System.Web.ApplicationServices.ProfileService&amp;quot; %&amp;gt;&lt;/p&gt;
&lt;p&gt;(2) The screenshot that accompanies the text:&lt;/p&gt;
&lt;p&gt;Click Discover and set the namespace to &amp;quot;AuthenticationService&amp;quot;&lt;/p&gt;
&lt;p&gt;has &amp;quot;Services&amp;quot; in the namespace rather than &amp;quot;AuthenticationService&amp;quot;&lt;/p&gt;
&lt;p&gt;Thanks for a winner!&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8574622</link><pubDate>Thu, 05 Jun 2008 08:57:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8574622</guid><dc:creator>Atul Gupta</dc:creator><description>&lt;p&gt;Brad, thanks for pulling this together. This helps a lot&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8574901</link><pubDate>Thu, 05 Jun 2008 13:06:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8574901</guid><dc:creator>Richard Fencel</dc:creator><description>&lt;p&gt;I ran the sample code and in BeginLogin() I got a cross domain error. &amp;nbsp; The following link:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://weblogs.asp.net/jgalloway/archive/2007/06/14/calling-an-asmx-webservice-from-silverlight-use-a-static-port.aspx"&gt;http://weblogs.asp.net/jgalloway/archive/2007/06/14/calling-an-asmx-webservice-from-silverlight-use-a-static-port.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;says that the way to fix this is to set the web site to a static port. &amp;nbsp;I did this and still get the same error. &amp;nbsp;Thanks for your help.&lt;/p&gt;
</description></item><item><title>Silverlight Roles, Profile and Authentication Example Updated for Silverlight Beta2 Now with Visual State Manager (VSM) goodness!</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8583103</link><pubDate>Mon, 09 Jun 2008 06:23:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8583103</guid><dc:creator>Brad Abrams </dc:creator><description>&lt;p&gt;I am very excited about Silverlight Beta2 shipping recently ...&amp;amp;#160; I took a few minutes to update&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8586371</link><pubDate>Mon, 09 Jun 2008 19:25:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8586371</guid><dc:creator>Bret Patterson</dc:creator><description>&lt;p&gt;So now that I've logged in and Gotten my roles on the agent how do I enforce those roles on the server for my own custom WCF services?&lt;/p&gt;
&lt;p&gt;I'm not sure how this login/role management is useful without knowing how to make use of it inside my own WCF services that I would be calling after I logged in.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>Autentisering mot ASP.NET Membership-tjänst från Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8594497</link><pubDate>Fri, 13 Jun 2008 16:58:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8594497</guid><dc:creator>Robert Folkesson</dc:creator><description>&lt;p&gt;Ett scenario som kommer att bli allt vanligare i takt med att fler och fler verksamhetsst&amp;#246;djande system&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8627182</link><pubDate>Sat, 21 Jun 2008 00:01:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8627182</guid><dc:creator>BWestover</dc:creator><description>&lt;p&gt;I implemented a custom silverlight login control similar to yours. &amp;nbsp;I call the LoginAsync method passing the username and password and I am able to authenticate users. &amp;nbsp; Once a user is authenticated they can access other pages in my website which I have locked down with a combination of &amp;lt;allow /&amp;gt; and &amp;lt;deny /&amp;gt; elements. &amp;nbsp;The problem comes when a user logs out. &amp;nbsp;I call the LogoutAsync method just as in your code. &amp;nbsp;However, users are still able to access the restricted pages, it seems that calling logout does not clear the authentication cookie.&lt;/p&gt;
&lt;p&gt;I read something about having to do a page refresh from the logout so the cookie can be cleared. &amp;nbsp;I tried combinations of logout and clear and nothing seems to work. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Strange thing is the problem is consistent on our production server and intermittent when running in the VS development server.&lt;/p&gt;
&lt;p&gt;Any thoughts?&lt;/p&gt;
</description></item><item><title>Using ASP.NET Authentication in a Web Service with Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8642480</link><pubDate>Mon, 23 Jun 2008 18:29:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8642480</guid><dc:creator>Brad Abrams </dc:creator><description>&lt;p&gt;A reader recently asked me to expand on the ASP.NET Authentication + Silverlight concept I started..&lt;/p&gt;
</description></item><item><title>Silverlight 2 B2 Resources</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8646174</link><pubDate>Tue, 24 Jun 2008 10:47:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8646174</guid><dc:creator>Giorgio Sardo Blog</dc:creator><description>&lt;p&gt;Based on the questions I received in the last period, I’d like to share here some links that will eventually&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8652652</link><pubDate>Wed, 25 Jun 2008 21:12:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8652652</guid><dc:creator>Rod Runnheim</dc:creator><description>&lt;p&gt;If the entire contents of the password box are hilighted, and key.backspace or key.delete is pressed, the password text is not cleared.&lt;/p&gt;
&lt;p&gt;in &amp;nbsp;OnTextBoxTextChanged(..)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;....&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (text.Length == 0) &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt;ADD THIS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_password = &amp;quot;&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; ....&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8659411</link><pubDate>Fri, 27 Jun 2008 05:00:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8659411</guid><dc:creator>Steve</dc:creator><description>&lt;p&gt;I need to get a list of the users in the aspnet_users table - any suggestions?&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8691860</link><pubDate>Sat, 05 Jul 2008 02:40:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8691860</guid><dc:creator>Miguel Madero</dc:creator><description>&lt;p&gt;Great post, thanks, really complete and useful. &lt;/p&gt;
&lt;p&gt;@Steve, create a WCF Service and expose a method GetAllUsers, in your service implementation just delegate to the Membership class to get them, if you only need the names and not the full MembershipUser class (nor sure even if you could sent it directly) you can return the following&lt;/p&gt;
&lt;p&gt;return from u in Membership.GetAllUsers().OfType&amp;lt;MembershipUser&amp;gt;()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;select u.UserName;&lt;/p&gt;
</description></item><item><title>ASP.NET Authentication for Silverlight Applications (Accessing ASP.NET Membership, Profile and Role Services)</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8708570</link><pubDate>Tue, 08 Jul 2008 18:13:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8708570</guid><dc:creator>XAML, WPF, Silverlight, .NET, Office 2007, Windows</dc:creator><description>&lt;p&gt;This is very good for web sites that have ASP.NET Authentication (or plan to have) and have Silverlight&lt;/p&gt;
</description></item><item><title>re: Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8716012</link><pubDate>Thu, 10 Jul 2008 11:36:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8716012</guid><dc:creator>Nicola Farina</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thanks for the great article.&lt;/p&gt;
&lt;p&gt;I tried to run the example but I got, at runtime, the page asking me to download Silverlight.&lt;/p&gt;
&lt;p&gt;The Microsoft Silverlight site tells me:&lt;/p&gt;
&lt;p&gt;version installed version 2.0.30523&lt;/p&gt;
&lt;p&gt;requested version 2.0.30226&lt;/p&gt;
&lt;p&gt;So it seems that the source code is compiled with a slighty out-of-date version. How can I update the solution ? I tried removing all the references and replacing with mine but with no success.&lt;/p&gt;
&lt;p&gt;I have the beta sdk 2 installled with vs2008 and the last sl tools for vs 2008&lt;/p&gt;
&lt;p&gt;Thanks for any help/tip&lt;/p&gt;
&lt;p&gt;Bye&lt;/p&gt;
&lt;p&gt;Nicola&lt;/p&gt;
</description></item><item><title>Using the ASP.NET Providers from Silverlight - Membership, Roles and Profile</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8833200</link><pubDate>Tue, 05 Aug 2008 09:16:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8833200</guid><dc:creator>miguel</dc:creator><description>&lt;p&gt;Brad Abrams wrote an excellent post about how to set everything in the server and client to consume this&lt;/p&gt;
</description></item><item><title>Silverlight 2 line-of-business application</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#8896231</link><pubDate>Tue, 26 Aug 2008 08:43:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8896231</guid><dc:creator>Li Chen's Weblog</dc:creator><description>&lt;p&gt;Silverlight 2 line-of-business application&lt;/p&gt;
</description></item><item><title>Accessing the Membership Provider from Silverlight</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#9609271</link><pubDate>Wed, 13 May 2009 16:52:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9609271</guid><dc:creator>Enterprise Etc</dc:creator><description>&lt;p&gt;Accessing the Membership Provider from Silverlight&lt;/p&gt;
</description></item><item><title>Silverlight: Product Maintenance Application ( Part 1 – Authentication, Roles and Logging In )</title><link>http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx#9749860</link><pubDate>Sun, 14 Jun 2009 13:50:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9749860</guid><dc:creator>Mike Taulty's Blog</dc:creator><description>&lt;p&gt;I wanted to try and follow up on this idea of the XAML Continuum and the basic example that I did with&lt;/p&gt;
</description></item></channel></rss>