<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 - Discussions by Galo</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Niners/Galo/Discussions/RSS"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 - Discussions by Galo</title>
		<link>http://channel9.msdn.com/Niners/Galo/Discussions</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Niners/Galo/Discussions</link>
	<language>en</language>
	<pubDate>Sat, 25 May 2013 17:47:44 GMT</pubDate>
	<lastBuildDate>Sat, 25 May 2013 17:47:44 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>0</c9:totalResults>
	<c9:pageCount>0</c9:pageCount>
	<c9:pageSize>0</c9:pageSize>
	<item>
		<title>Tech Off - Custom Membership Providers in WCF &amp; Silverlight</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">Maddus Mattus said:</div><div class="quoteText">Try running a Sql Profiler against the server to see if any of the queries get fired against the database.</div></blockquote>
<p>Ahahaha, aint we all&nbsp;stupid once in a while, lol, seems i had to trim the characters in the password string i got back, so my login failed and after 5 times it locked the account.... i can cry about now <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-6.gif' alt='Sad' /><br /><br />It all works now, thanks anyway niners!</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/416964-Custom-Membership-Providers-in-WCF--Silverlight/a8c267ba6d75454b80849dfa009487e6#a8c267ba6d75454b80849dfa009487e6</link>
		<pubDate>Tue, 22 Jul 2008 14:39:12 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/416964-Custom-Membership-Providers-in-WCF--Silverlight/a8c267ba6d75454b80849dfa009487e6#a8c267ba6d75454b80849dfa009487e6</guid>
		<dc:creator>Galo</dc:creator>
		<slash:comments>4</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Galo/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Custom Membership Providers in WCF &amp; Silverlight</title>
		<description><![CDATA[<p>Hi gang,<br /><br />I have a question and no one seems to have an awnser, so ofcourse the last thing one tries is the 9th channel <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-4.gif' alt='Tongue Out' /><br />Let's cut to it...<br /><br />I made a Silverlight application that uwses a service, the service is a WCF service, and as you might know we have a default Membership provider comming with WCF, which are<br /><br /><p>System.Web.ApplicationServices.AuthenticationService<br />System.Web.ApplicationServices.ProfileService<br />System.Web.ApplicationServices.RoleService<br /><br />So, knowing this, we have a new challenge of creating a user login based on Silverlight &amp; WCF<br /><br />AuthenticationServiceClient client = new AuthenticationServiceClient();<br />client.LoginCompleted &#43;= new EventHandler&lt;LoginCompletedEventArgs&gt;(LoginCompleted);<br />client.LoginAsync(tbxUsername.Text, Password.Value, &quot;&quot;, true, tbxUsername.Text);<br /><br />Jippee,.. all good IF we only had a locale database running in the App_Data folder, and since im an employee of enterprise X and we have our databases running on a different server which does use the default asp_net authentication im pretty f****d no, hmmm
 we could create our own custom membership providers configured in the web.config of my service layer, yeehaaa,... let's do that...<br /><br /></p>
<p>&lt;roleManager enabled=&quot;true&quot; defaultProvider=&quot;Role&quot;&gt;<br />&lt;providers&gt;<br />&lt;add name=&quot;Role&quot; type=&quot;X.Model.Provider.Role&quot; connectionStringName=&quot;SqlXConnectionString&quot; applicationName=&quot;/X.GUI&quot;/&gt;<br />&lt;/providers&gt;<br />&lt;/roleManager&gt;<br />&lt;membership defaultProvider=&quot;Membership&quot; userIsOnlineTimeWindow=&quot;10&quot;&gt;<br />&lt;providers&gt;<br />&lt;add name=&quot;Membership&quot; type=&quot;X.Model.Provider.Membership&quot; connectionStringName=&quot;SqlXConnectionString&quot; enablePasswordRetrieval=&quot;false&quot; enablePasswordReset=&quot;true&quot; maxInvalidPasswordAttempts=&quot;5&quot; minRequiredPasswordLength=&quot;4&quot; minRequiredNonalphanumericCharacters=&quot;0&quot;
 passwordStrengthRegularExpression=&quot;&quot; requiresQuestionAndAnswer=&quot;false&quot; requiresUniqueEmail=&quot;true&quot; passwordFormat=&quot;Hashed&quot; applicationName=&quot;/X.GUI&quot;/&gt;<br />&lt;/providers&gt;<br />&lt;/membership&gt;<br />&lt;profile defaultProvider=&quot;Profile&quot; enabled=&quot;true&quot;&gt;&lt;providers&gt;<br />&lt;add name=&quot;Profile&quot; type=&quot;X.Model.Provider.Profile&quot; connectionStringName=&quot;SqlXConnectionString&quot; applicationName=&quot;/X.GUI&quot;/&gt;<br />&lt;/providers&gt;<br />&lt;properties&gt;<br />&lt;add name=&quot;Color&quot; type=&quot;string&quot; defaultValue=&quot;Red&quot; /&gt;<br />&lt;add name=&quot;Naam&quot; type=&quot;String&quot; serializeAs=&quot;String&quot;/&gt;<br />&lt;add name=&quot;Omschrijving&quot; type=&quot;String&quot; serializeAs=&quot;String&quot;/&gt;<br />&lt;add name=&quot;Intern&quot; type=&quot;Boolean&quot; serializeAs=&quot;String&quot;/&gt;<br />&lt;add name=&quot;Actief&quot; type=&quot;Boolean&quot; serializeAs=&quot;String&quot;/&gt;<br />&lt;add name=&quot;MedewerkerNummer&quot; type=&quot;String&quot; serializeAs=&quot;String&quot;/&gt;<br />&lt;add name=&quot;FunctieNiveau&quot; type=&quot;Int32&quot; serializeAs=&quot;String&quot;/&gt;<br />&lt;add name=&quot;Direct&quot; type=&quot;Boolean&quot; serializeAs=&quot;String&quot;/&gt;<br />&lt;add name=&quot;FTE&quot; type=&quot;String&quot; serializeAs=&quot;String&quot;/&gt;<br />&lt;add name=&quot;PercDirect&quot; type=&quot;String&quot; serializeAs=&quot;String&quot;/&gt;<br />&lt;add name=&quot;PercIndirect&quot; type=&quot;String&quot; serializeAs=&quot;String&quot;/&gt;<br />&lt;/properties&gt;<br />&lt;/profile&gt;</p>
<p>So, i try the WSAT throught the ASP.Net Configuration, and yes, i have all my data correctly in front of me, my users, roles and application settings, and one would think he is done... but he aint, cause it aint working, not at all.... i tryt to log in with
 the right credentials, but the e.Result keeps returning false in the OnCompleted method.<br /><br />How come, does anyone know what im looking over or what i've done wrong, your help would be&nbsp;apreciated<br /><br />thanks in advance!<br />&nbsp;</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/416964-Custom-Membership-Providers-in-WCF--Silverlight/416964#416964</link>
		<pubDate>Tue, 22 Jul 2008 14:00:04 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/416964-Custom-Membership-Providers-in-WCF--Silverlight/416964#416964</guid>
		<dc:creator>Galo</dc:creator>
		<slash:comments>4</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Galo/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>