In my previous article we had discussed about Data Binding ,Validation,Exception Handling ,Handling Multiple table and many more.But the first step in a business application deals with Authentication.Surely nobody wants data to be meshed up by an anonymous user so in this article we are going to implement Authentication to SOI (States of India) application.This post is restricted to FormsAuthentication model only.Also i am going to skip Authorization and due for next article.

Well authentication in Silverlight 4 using RIA service in business application can be implemented by 2 ways

  • Using Default authentication provided by Silverlight Business Template (Using ASP.Net Role and Membership)
  • Using Custom Authentication (Using your own database and  model )

You can find number of post/articles available in blogs that's deals with default authentication with Asp.Net membership provider .If you want to find know more about  this MSDN article worth a look .

SO lets start with Authentication using your own custom table for application.