Top ASP.NET Items

Sponsors

Silverlight 4 + RIA Services - Ready for Business: Authentication and Personalization

To continue our series ,  In real business applications our data is often very valuable and as such we need to know who is accessing what data and control certain data access to only users with privilege.  Luckily this is very easy to do with RIA Services.  For example, say we want to let only authenticated users access our data in this example.   That is as easy to accomplish as adding an attribute, see line 2 below.    1: [EnableClientAccess] 2: [RequiresAuthentication] 3: public class DishViewDomainService : LinqToEntitiesDomainService<DishViewEntities> 4: { 5:   When we run the application, we now get an error.  Clearly you can do a bit better from a user experience angle… but the message Read More...

Read the complete post at http://blogs.msdn.com/brada/archive/2010/03/26/silverlight-4-ria-services-ready-for-business-authentication-and-personalization.aspx