O'Reilly logo

Learning ASP.NET 2.0 with AJAX by Dan Hurwitz, Jesse Liberty, Brian MacDonald

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

BRAIN BUILDER

Quiz

  1. What are the two methods for creating users for your site?

  2. What is the difference between forms-based security and Windows authentication?

  3. Where is the user information stored in your site?

  4. What control do you need to add to enable users to create their own accounts?

  5. What tool do you use to add users to roles?

  6. What property do you use to restrict access to a page based on a role?

  7. What do you need to do to enable user profiles in your site?

  8. How do you retain profile information for a user without logging in?

  9. What's the difference between style sheet themes and customization themes?

  10. Where do you specify settings for a skin?

Exercises

Exercise 9-1. In this set of exercises, you're going to create a web site that hosts discussion forums for tropical fish enthusiasts. You won't actually write the code for the forums, but you'll build the framework so that users can log in if they wish and customize the site. Start by creating a site that has a front page welcoming users to the site and stating their login status. Add a login page, and a separate page where users can create their own accounts. Create a few users by whatever method you like to test these pages. The page for a logged-in user would look like Figure 9-43.

Exercise 9-2. You've made a good start, making the site available to users, but you currently have no content. Copy the site to a new web site named Exercise 9-2, and add two content pages, which will be placeholders for the forums. One page should be available to ...

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