<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/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>Silverlight Controls and Silverlight Toolkit</title><link>http://forums.silverlight.net/forums/35.aspx</link><description>Discussions around using and developing Silverlight controls and the Silverlight Toolkit</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Help: Silverlight Login in ASP.NET</title><link>http://forums.silverlight.net/forums/thread/268667.aspx</link><pubDate>Thu, 13 Aug 2009 13:05:26 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:268667</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/268667.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=268667</wfw:commentRss><description>&lt;p&gt;If you want to use ASP.NET login,&amp;nbsp; just follow the instruction in Brad Abream&amp;#39;s blogs. That user info is also stored in a SQL database. But you just have to follow the specific setup mentioned in the blog.&amp;nbsp; &lt;/p&gt;&lt;p&gt;If you do not want use ASP.NET login, assume your user info is stored in a database (it can be any database, does not have to be a SQL server).&amp;nbsp; All you have to do is to query a User who matchs the login and password. If you found one, then the login pass, if not, login failed. This would be the simplest logic for login. In real case, it&amp;#39;s more complicated than just verify login/password. You need to compare encripted password, you need to find the User Roles or Groups if you set the user that way. You need to find what kind of function right the user has, etc. Then stored all these info to a Token or something. pass it back to client.&amp;nbsp; You can write the token to cookie so you do not have to do this on the following request within a login session. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I assume you already know how to write .NET code to connect to DB and query data from database. If not, you need to learn that. There are tons of online tutorials which are really easy to follow. You can start from here: &lt;a href="http://silverlight.net/GetStarted/" title="http://silverlight.net/GetStarted/"&gt;http://silverlight.net/GetStarted/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Help: Silverlight Login in ASP.NET</title><link>http://forums.silverlight.net/forums/thread/268352.aspx</link><pubDate>Thu, 13 Aug 2009 02:18:41 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:268352</guid><dc:creator>ChristinaJoana</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/268352.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=268352</wfw:commentRss><description>&lt;p&gt;Hi sladapter, can give an example of authentication in your code:&lt;/p&gt;
&lt;p&gt;How do&amp;nbsp;you login using ur demo if I am using ASP.NET login?&lt;/p&gt;
&lt;p&gt;Can we&amp;nbsp;get user login info&amp;nbsp;from the sql database and login?&lt;/p&gt;
&lt;p&gt;tyvm in advance!!&lt;/p&gt;</description></item><item><title>Re: Help: Silverlight Login in ASP.NET</title><link>http://forums.silverlight.net/forums/thread/267995.aspx</link><pubDate>Wed, 12 Aug 2009 13:58:08 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:267995</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/267995.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=267995</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;DelaroAlexandra:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;Then i added the following lines to YOUR application but it didnt work. Can u pls Suggest a Solution?&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;Why do you want to add some thing that from other people&amp;#39;s blogs to my application and expected it to work automatically?&amp;nbsp; My demo should just work without changing anything. I&amp;#39;m not using &lt;span style="color:blue;"&gt;System.Web.ApplicationServices.AuthenticationService.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;You need to understand what is going on in the demo. Then you can just change the code to do the real authentication in the DoLogin function in the Login.svc.cs.&amp;nbsp; This is more generic and flexible way of doing login validation, assuming your user information is stored in DB or some other places other than the ASP.NET web site.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;public LoginInfo DoLogin(string login, string password) &lt;/p&gt;&lt;p&gt;{&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; //Put your real authentication code here, connect your DB, do the validation etc.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;} &lt;/p&gt;&lt;p&gt;You can also follow Brad Abream&amp;#39;s blogs. That one was using &lt;span style="color:blue;"&gt;&lt;font color="#000000"&gt;System.Web.ApplicationServices.AuthenticationService which assuming the Login info is configured in the ASP.NET web site. &lt;/font&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:blue;"&gt;&lt;/span&gt;You can get some good idea on how to do things differently by trying different sample code.&amp;nbsp; But no matter which method you chose, you need to understand them first before you mixing them together.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Help: Silverlight Login in ASP.NET</title><link>http://forums.silverlight.net/forums/thread/267670.aspx</link><pubDate>Wed, 12 Aug 2009 02:50:42 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:267670</guid><dc:creator>DelaroAlexandra</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/267670.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=267670</wfw:commentRss><description>&lt;p&gt;I tried follow the blog in the 2nd post above, but seems to have alot of problems. &lt;br /&gt;I created a Text file called: &amp;quot;AuthenticationService.svc&amp;quot; &lt;br /&gt;with content: &lt;span style="BACKGROUND:#ffee62;"&gt;&amp;lt;%&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;@ &lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;ServiceHost &lt;/span&gt;&lt;span style="COLOR:red;"&gt;Language&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&amp;quot;C#&amp;quot; &lt;/span&gt;&lt;span style="COLOR:red;"&gt;Service&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&amp;quot;System.Web.ApplicationServices.AuthenticationService&amp;quot; &lt;/span&gt;&lt;span style="BACKGROUND:#ffee62;"&gt;%&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Then i added the following lines to YOUR application but it didnt work. Can u pls Suggest a Solution?&lt;/p&gt;
&lt;p&gt;&amp;quot;web.config&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;system.serviceModel&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;services&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- &lt;/span&gt;&lt;span style="COLOR:green;"&gt;this enables the WCF AuthenticationService endpoint &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;--&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;service &lt;/span&gt;&lt;span style="COLOR:red;"&gt;name&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;System.Web.ApplicationServices.AuthenticationService&lt;/span&gt;&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:red;"&gt;behaviorConfiguration&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;AuthenticationServiceTypeBehaviors&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;endpoint &lt;/span&gt;&lt;span style="COLOR:red;"&gt;contract&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;System.Web.ApplicationServices.AuthenticationService&lt;/span&gt;&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:red;"&gt;binding&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;basicHttpBinding&lt;/span&gt;&amp;quot; &lt;span style="COLOR:red;"&gt;bindingConfiguration&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;userHttp&lt;/span&gt;&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:red;"&gt;bindingNamespace&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;http://asp.net/ApplicationServices/v200&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;service&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;services&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;bindings&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;basicHttpBinding&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;binding &lt;/span&gt;&lt;span style="COLOR:red;"&gt;name&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;userHttp&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- &lt;/span&gt;&lt;span style="COLOR:green;"&gt;this is for demo only. Https/Transport security is recommended &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;--&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;security &lt;/span&gt;&lt;span style="COLOR:red;"&gt;mode&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;None&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;binding&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;basicHttpBinding&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;bindings&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;behaviors&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;serviceBehaviors&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;behavior &lt;/span&gt;&lt;span style="COLOR:red;"&gt;name&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;AuthenticationServiceTypeBehaviors&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;serviceMetadata &lt;/span&gt;&lt;span style="COLOR:red;"&gt;httpGetEnabled&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;behavior&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;serviceBehaviors&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;behaviors&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- &lt;/span&gt;&lt;span style="COLOR:green;"&gt;this is needed since this service is only supported with HTTP protocol &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;--&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;serviceHostingEnvironment &lt;/span&gt;&lt;span style="COLOR:red;"&gt;aspNetCompatibilityEnabled&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;system.serviceModel&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;pre class="code"&gt;&lt;span style="COLOR:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;authentication &lt;/span&gt;&lt;span style="COLOR:red;"&gt;mode&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;Forms&lt;/span&gt;&amp;quot; &lt;span style="COLOR:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="code"&gt;&lt;span style="COLOR:blue;"&gt;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;system.web.extensions&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;
    &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;scripting&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;
      &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;webServices&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;
        &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;authenticationService &lt;/span&gt;&lt;span style="COLOR:red;"&gt;enabled&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;true&lt;/span&gt;&amp;quot; &lt;span style="COLOR:red;"&gt;requireSSL&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;false&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;/&amp;gt;
      &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;webServices&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;
    &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;scripting&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;
  &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;system.web.extensions&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;
&lt;p&gt;The Error that i got is:&lt;/p&gt;
&lt;p&gt;Warning&amp;nbsp;1&amp;nbsp;C:\Documents and Settings\072502U\My Documents\Silverlight APPLICATION\SilverlightLogin\LoginSilverlightWeb\AuthenticationService.svc: ASP.NET runtime error: Sections must only appear once per config file.&amp;nbsp; See the help topic &amp;lt;location&amp;gt; for exceptions. (C:\Documents and Settings\072502U\My Documents\Silverlight APPLICATION\SilverlightLogin\LoginSilverlightWeb\web.config line 148)&amp;nbsp;C:\Documents and Settings\072502U\My Documents\Silverlight APPLICATION\SilverlightLogin\LoginSilverlightWeb\AuthenticationService.svc&amp;nbsp;1&amp;nbsp;1&amp;nbsp;LoginSilverlightWeb&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How do i fix it? tks alot.&lt;br /&gt;DelaroAlexandra&lt;/p&gt;&lt;span style="COLOR:blue;"&gt;&lt;pre class="code"&gt;&lt;span style="COLOR:blue;"&gt;&lt;span style="COLOR:blue;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="code"&gt;&lt;span style="COLOR:blue;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;/span&gt;</description></item><item><title>Re: Help: Silverlight Login in ASP.NET</title><link>http://forums.silverlight.net/forums/thread/267669.aspx</link><pubDate>Wed, 12 Aug 2009 02:50:33 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:267669</guid><dc:creator>DelaroAlexandra</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/267669.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=267669</wfw:commentRss><description>&lt;p&gt;I tried follow the blog in the 2nd post above, but seems to have alot of problems. &lt;br /&gt;I created a Text file called: &amp;quot;AuthenticationService.svc&amp;quot; &lt;br /&gt;with content: &lt;span style="BACKGROUND:#ffee62;"&gt;&amp;lt;%&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;@ &lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;ServiceHost &lt;/span&gt;&lt;span style="COLOR:red;"&gt;Language&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&amp;quot;C#&amp;quot; &lt;/span&gt;&lt;span style="COLOR:red;"&gt;Service&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&amp;quot;System.Web.ApplicationServices.AuthenticationService&amp;quot; &lt;/span&gt;&lt;span style="BACKGROUND:#ffee62;"&gt;%&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Then i added the following lines to YOUR application but it didnt work. Can u pls Suggest a Solution?&lt;/p&gt;
&lt;p&gt;&amp;quot;web.config&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;system.serviceModel&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;services&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- &lt;/span&gt;&lt;span style="COLOR:green;"&gt;this enables the WCF AuthenticationService endpoint &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;--&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;service &lt;/span&gt;&lt;span style="COLOR:red;"&gt;name&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;System.Web.ApplicationServices.AuthenticationService&lt;/span&gt;&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:red;"&gt;behaviorConfiguration&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;AuthenticationServiceTypeBehaviors&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;endpoint &lt;/span&gt;&lt;span style="COLOR:red;"&gt;contract&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;System.Web.ApplicationServices.AuthenticationService&lt;/span&gt;&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:red;"&gt;binding&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;basicHttpBinding&lt;/span&gt;&amp;quot; &lt;span style="COLOR:red;"&gt;bindingConfiguration&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;userHttp&lt;/span&gt;&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:red;"&gt;bindingNamespace&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;http://asp.net/ApplicationServices/v200&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;service&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;services&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;bindings&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;basicHttpBinding&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;binding &lt;/span&gt;&lt;span style="COLOR:red;"&gt;name&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;userHttp&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- &lt;/span&gt;&lt;span style="COLOR:green;"&gt;this is for demo only. Https/Transport security is recommended &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;--&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;security &lt;/span&gt;&lt;span style="COLOR:red;"&gt;mode&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;None&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;binding&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;basicHttpBinding&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;bindings&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;behaviors&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;serviceBehaviors&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;behavior &lt;/span&gt;&lt;span style="COLOR:red;"&gt;name&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;AuthenticationServiceTypeBehaviors&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;serviceMetadata &lt;/span&gt;&lt;span style="COLOR:red;"&gt;httpGetEnabled&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;behavior&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;serviceBehaviors&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;behaviors&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- &lt;/span&gt;&lt;span style="COLOR:green;"&gt;this is needed since this service is only supported with HTTP protocol &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;--&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;serviceHostingEnvironment &lt;/span&gt;&lt;span style="COLOR:red;"&gt;aspNetCompatibilityEnabled&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;/&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;system.serviceModel&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;&lt;br /&gt;&lt;/p&gt;&lt;pre class="code"&gt;&lt;span style="COLOR:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;authentication &lt;/span&gt;&lt;span style="COLOR:red;"&gt;mode&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;Forms&lt;/span&gt;&amp;quot; &lt;span style="COLOR:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="code"&gt;&lt;span style="COLOR:blue;"&gt;&amp;nbsp; &lt;span style="COLOR:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;system.web.extensions&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;
    &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;scripting&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;
      &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;webServices&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;
        &amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;authenticationService &lt;/span&gt;&lt;span style="COLOR:red;"&gt;enabled&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;true&lt;/span&gt;&amp;quot; &lt;span style="COLOR:red;"&gt;requireSSL&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;false&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;/&amp;gt;
      &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;webServices&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;
    &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;scripting&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;
  &amp;lt;/&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;system.web.extensions&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;
&lt;p&gt;The Error that i got is:&lt;/p&gt;
&lt;p&gt;Warning&amp;nbsp;1&amp;nbsp;C:\Documents and Settings\072502U\My Documents\Silverlight APPLICATION\SilverlightLogin\LoginSilverlightWeb\AuthenticationService.svc: ASP.NET runtime error: Sections must only appear once per config file.&amp;nbsp; See the help topic &amp;lt;location&amp;gt; for exceptions. (C:\Documents and Settings\072502U\My Documents\Silverlight APPLICATION\SilverlightLogin\LoginSilverlightWeb\web.config line 148)&amp;nbsp;C:\Documents and Settings\072502U\My Documents\Silverlight APPLICATION\SilverlightLogin\LoginSilverlightWeb\AuthenticationService.svc&amp;nbsp;1&amp;nbsp;1&amp;nbsp;LoginSilverlightWeb&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How do i fix it? tks alot.&lt;br /&gt;DelaroAlexandra&lt;/p&gt;&lt;span style="COLOR:blue;"&gt;&lt;pre class="code"&gt;&lt;span style="COLOR:blue;"&gt;&lt;span style="COLOR:blue;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="code"&gt;&lt;span style="COLOR:blue;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;/span&gt;</description></item><item><title>Re: Help: Silverlight Login in ASP.NET</title><link>http://forums.silverlight.net/forums/thread/267331.aspx</link><pubDate>Tue, 11 Aug 2009 13:40:17 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:267331</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/267331.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=267331</wfw:commentRss><description>&lt;p&gt;You have to write the real validation code yourself. The user info usually is stored in database. But it dose not matter where they are, all the validation code are running on server side. The validation code should have nothing to do if you are using Silverlight as login GUI or you are using normal ASP page as your login GUI. &lt;/p&gt;&lt;p&gt;With Silverlight you just need to pass the login/password info from Silverlight back to server via a Web service then get the validation result back.The demo code only shows you how to do this part.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Help: Silverlight Login in ASP.NET</title><link>http://forums.silverlight.net/forums/thread/267005.aspx</link><pubDate>Tue, 11 Aug 2009 03:23:43 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:267005</guid><dc:creator>DelaroAlexandra</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/267005.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=267005</wfw:commentRss><description>&lt;p&gt;Hi, I saw the application and it was great! &lt;/p&gt;
&lt;p&gt;But i got a few questions, i apologise if they seem dumb coz i&amp;#39;m just a beginner programmer. Sry&lt;/p&gt;
&lt;p&gt;1: Where do u create the User? Is it in the ASP.NET? or can u create users in the database and read from there?&lt;/p&gt;
&lt;p&gt;2: If the login is successfull, Ur FirstPage displayed an error abt the html &lt;/p&gt;I had to comment it away to get ur application running. &lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;
&lt;p&gt;// throw new Error(errMsg);&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Tks for ur reply! looking forward to it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: Help: Silverlight Login in ASP.NET</title><link>http://forums.silverlight.net/forums/thread/265712.aspx</link><pubDate>Fri, 07 Aug 2009 17:44:41 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:265712</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/265712.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=265712</wfw:commentRss><description>&lt;p&gt;Get the latest from here:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;a href="http://cid-9cffd385fd75195b.skydrive.live.com/self.aspx/Silverlight/SilverlightLogin.zip" title="http://cid-9cffd385fd75195b.skydrive.live.com/self.aspx/Silverlight/SilverlightLogin.zip"&gt;http://cid-9cffd385fd75195b.skydrive.live.com/self.aspx/Silverlight/SilverlightLogin.zip&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Help: Silverlight Login in ASP.NET</title><link>http://forums.silverlight.net/forums/thread/265246.aspx</link><pubDate>Fri, 07 Aug 2009 03:25:43 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:265246</guid><dc:creator>DelaroAlexandra</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/265246.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=265246</wfw:commentRss><description>&lt;p&gt;Hi, I have seen ur project in the link. But Silverlight is now version 2. No longer beta, So can u put in a updated version of the login application? As ur current Application cannot be run in silverlight 2. &lt;br /&gt;&lt;br /&gt;Will appreciate it if you can put up a updated version. Tks&lt;/p&gt;</description></item><item><title>Re: Help: Silverlight Login in ASP.NET</title><link>http://forums.silverlight.net/forums/thread/68242.aspx</link><pubDate>Fri, 04 Jul 2008 15:14:05 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:68242</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/68242.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=68242</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;If you are totally new to programming and silverlight, you need to go through some tutorials first before you start to write this login control:&lt;/p&gt;&lt;p&gt;&lt;a href="http://silverlight.net/Learn/videocat.aspx?cat=2" title="http://silverlight.net/Learn/videocat.aspx?cat=2"&gt;http://silverlight.net/Learn/videocat.aspx?cat=2&lt;/a&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://silverlight.net/learn/tutorials.aspx" title="http://silverlight.net/learn/tutorials.aspx"&gt;http://silverlight.net/learn/tutorials.aspx&lt;/a&gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Login control is a simple control. Here is what knowledge you need:&lt;/p&gt;&lt;p&gt;1) Build a UserControl in Silverlight with layout control like Grid/StackPanel etc and silverlight build-in control like TextBox and Button.&lt;/p&gt;&lt;p&gt;Currently there is no built-in password control, but for beginner you can just first use a Textbox as password control until you know how to write a custom control. There are some code for password control in this forum you can use. But that&amp;#39;s not the most important thing for now.&lt;/p&gt;&lt;p&gt;2) Write WCF Service and have Silverlight consum the WCF service.&lt;/p&gt;&lt;p&gt;3) I assume you know how to write login validation logic&lt;/p&gt;&lt;p&gt;Here is a sample project I created: &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.2shared.com/file/3543584/648731dd/SilverlightLogin.html%20" title="http://www.2shared.com/file/3543584/648731dd/SilverlightLogin.html "&gt;http://www.2shared.com/file/3543584/648731dd/SilverlightLogin.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Help: Silverlight Login in ASP.NET</title><link>http://forums.silverlight.net/forums/thread/68048.aspx</link><pubDate>Fri, 04 Jul 2008 02:16:01 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:68048</guid><dc:creator>Silverlight20</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/68048.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=68048</wfw:commentRss><description>&lt;p&gt;Hi! This is really helpful. but as I said in the beginning i am really new to the programing world, so could you mind to write me the tutorial more details ablut your tip above?&lt;/p&gt;
&lt;p&gt;Thanks in Advance&lt;img src="http://silverlight.net/emoticons/emotion-1.gif" alt="Smile" /&gt;&lt;/p&gt;</description></item><item><title>Re: Help: Silverlight Login in ASP.NET</title><link>http://forums.silverlight.net/forums/thread/67889.aspx</link><pubDate>Thu, 03 Jul 2008 15:32:44 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:67889</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/67889.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=67889</wfw:commentRss><description>&lt;p&gt;If you want to Silverlight interface just build a Silverlight login UserControl with all the fields you need. When user click the login button you need to send the data (loing/password) back to Server through a Web Service call to do the validation then wait the result back to do what ever you want to do accordingly.&lt;/p&gt;&lt;p&gt;The validation logic should be the same no matter if you choose to use HTML form control(asp.net control), AJax or Silverlight control. The only difference between using Form controls and Silverlight is with form control you usually submit the form. With Silverlight (or Ajax), you gether all the data then just send the data back through WebService call.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Help: Silverlight Login in ASP.NET</title><link>http://forums.silverlight.net/forums/thread/67786.aspx</link><pubDate>Thu, 03 Jul 2008 12:30:09 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:67786</guid><dc:creator>Silverlight20</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/67786.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=67786</wfw:commentRss><description>&lt;p&gt;Thanks for this links, but I already tried it, it doesn&amp;#39;t work properly.&lt;/p&gt;
&lt;p&gt;ans I need more simple way to do it.&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;</description></item><item><title>Re: Help: Silverlight Login in ASP.NET</title><link>http://forums.silverlight.net/forums/thread/67735.aspx</link><pubDate>Thu, 03 Jul 2008 09:21:38 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:67735</guid><dc:creator>xanoxate</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/67735.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=67735</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;Silverlight20:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Could anyone help please!!!!&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Brad Abrams covers this on his blog&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx" title="Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight" target="_blank"&gt;Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Help: Silverlight Login in ASP.NET</title><link>http://forums.silverlight.net/forums/thread/67663.aspx</link><pubDate>Thu, 03 Jul 2008 06:15:31 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:67663</guid><dc:creator>Silverlight20</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/67663.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=67663</wfw:commentRss><description>&lt;p&gt;Hi! Can anyone help?&lt;/p&gt;
&lt;p&gt;I am just to begin is the Silverlight world, so it would be helpful to me if you explain me more details and simple.&lt;/p&gt;
&lt;p&gt;Now I am running &lt;/p&gt;
&lt;p&gt;- Visual Studio 2008 Pro with Silverlight 2 Beta 2 installed ( SDK + Runtime)&lt;/p&gt;
&lt;p&gt;- Expression Blend 2.5 June Preview&lt;/p&gt;
&lt;p&gt;- ASP.NET 3.5&amp;nbsp; ( VB.NET )&lt;/p&gt;
&lt;p&gt;and I have build a websit that has the Log in page using asp.net login control.&lt;/p&gt;
&lt;p&gt;Now I want to have the silverlight login interface instead of asp.net control,.and working as same as in my asp.net login control.&lt;/p&gt;
&lt;p&gt;The eaiest to say is:&lt;/p&gt;
&lt;p&gt;ASP.NET Control&lt;/p&gt;
&lt;p&gt;-The username ; username textbox, password, password textbox, login button, reset button, forgot password button &lt;/p&gt;
&lt;p&gt;will be replace by&lt;/p&gt;
&lt;p&gt;- Silverlight 2 Beta 2&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could anyone help please!!!!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>