Most modern websites are designed for users to visit repeatedly, and therefore, they support some level of personalization: the ability to remember a user’s preferences and, if appropriate, previous user choices. For example, in what color did the user prefer to see the site? In what language did he view the site? What are his name and email address?
In this chapter, you’ll see how ASP.NET enables the creation of user profiles and how they are used to enable the personalization of a site. In particular, you’ll see how to store different types of values in a user’s profile and then how to use them to affect the design and layout of the site.