O'Reilly logo

Silverlight 4 Data and Services Cookbook by Kevin Dockx, Gill Cleeren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using ASP.NET Profiles in Silverlight

With the ASP.NET Membership API, profiles were also introduced. Using profiles, we can easily enable personalization for an application: they enable us to store user preferences between visits, such as preferred colors and so on. Just like authentication and roles, profile information is exposed over an Application Service of ASP.NET. This can be connected with to store and fetch profile information.

In this recipe, we will look at how we can use the information stored in ASP.NET profiles inside a Silverlight application.

Getting ready

This recipe requires that SQL Server or SQL Server Express is installed on your machine, as the code we are creating talks to a database.

To follow along with this recipe, you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required