EXERCISES
1. The favorite theme feature you created earlier would be a great candidate for a profile property. What code would you need to add to the profile in Web.config to make this possible?
2. When you create profile properties in Web.config, the compiler extends the Profile property only for the Code Behind classes of Web Forms. Therefore, in order to set the favorite theme (or other properties) in the BasePage, you need to access the profile in a special way. Instead of accessing the Profile property on the Page class, you access it through the HttpContext like this: