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 ...
Get Silverlight 4 Data and Services Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.