views:

167

answers:

1

Hi

I am creating a Silverlight 3 application for which i am designing the security block. I already have an existent ASP.NET authentication module that i will reuse in the WCF security service(which will be like a wrapper and this will be called from Silverlight). My goal is to use SSL for the transport security. Also i would want this to be scalable as i don't want to query the DBMS for each authentication service call.

Any pointers on best design approaches.

Thank you. Anjan

A: 

If you already have it done in ASP.Net then you might want to take a look at .NET RIA Services. RIA Services allows you to hook into the ASP.Net authentication right inside of Silverlight. Brada has written about this and has a post on RIA Services Authentication here.

Bryant
Yeah, but i dont want to hit the Database each time as i would want my scale up. I would like to know if there is a DB call each time the authentication is fired.
There is a DB call the first time the user is authenticated (no way around that), but after that there wouldn't be any more calls. Forms Authentication in ASP.Net sets an authentication cookie. As long as the cookie is valid and hasn't expired no database calls will be made.
Bryant
Just out of curiosity, what benefits do RIA give me. I did go through the samples but i did not arrive at a conclusion where i can say that RIA gives me some capabilities string enough to use them. Thoughts?