Posted by : Rhyf Ahmad Wednesday, May 20, 2015

Many Web applications must be customized with information that is specific to the end user who is presently viewing the page. In the past, the developer usually provided storage of personalization properties for end users viewing the page by means of cookies, the Session object, or the Application object.
Cookies enabled storage of persistent items so that when the end user returned to a Web page, any settings related to him were retrieved in order to be utilized again by the application. Cookies are not the best way to approach persistent user data storage, however, mainly because they are not accepted by all computers and also because a crafty end user can easily alter them. As you will see in Chapter 15, ASP.NET membership and role management capabilities are ways that ASP.NET can conveniently store information about the user. How can you, as the developer, use the same mechanics to store custom information? ASP.NET 4 provides you with an outstanding feature — personalization . The ASP.NET personalization engine provided with this latest release can make an automatic association between the end user viewing the page and any data points stored for that user. The personalization properties that are maintained on a per - user basis are stored on the server and not on the client. These items are conveniently placed in a data store of your choice (such as Microsoft ’ s SQL Server) and, therefore, the end user can then access these personalization properties on later site visits. This feature is an ideal way to start creating highly customizable and user - specific sites without building any of the plumbing beforehand. In this case, the plumbing has been built for you! This chapter shows you how the personalization feature is yet another way that the ASP.NET team is making developers more productive and their jobs easier.

Contents:

The Personalization Model
Creating Personalization Properties
  1. Adding a Simple Personalization Property
  2. Using Personalization Properties
  3. Adding a Group of Personalization Properties
  4. Using Grouped Personalization Properties
  5. Defining Types for Personalization Properties
  6. Using Custom Types
  7. Providing Default Values
  8. Making Personalization Properties Read-Only

Anonymous Personalization
  1. Enabling Anonymous Identification of the End User
  2. Working with Anonymous Identification
  3. Anonymous Options for Personalization Properties
  4. Warnings about Anonymous User Profile Storage

Programmatic Access to Personalization
  1. Migrating Anonymous Users
  2. Personalizing Profiles
  3. Determining Whether to Continue with Automatic Saves

Personalization Providers
  1. Working with SQL Server Express Edition
  2. Working with Microsoft’s SQL Server 7.0/2000/2005/2008
  3. Using Multiple Providers

Managing Application Profiles
  1. Properties of the ProfileManager Class
  2. Methods of the ProfileManager Class
  3. Building the ProfileManager.aspx Page
  4. Examining the ProfileManager.aspx Page’s Code
  5. Running the ProfileManager.aspx Page




Ebook Preview
Get the ebook now (488 kB)

If the link above doesn't work, try the link below


Mirror: Get the ebook now (488 kB)

Leave a Reply

You can leave a comment to request any article(s), software(s), ebook(s) or report the dead link.
Then I will reply as soon as I can :)

Subscribe to Posts | Subscribe to Comments

Welcome to My Blog

Recent Post

Recent Posts Widget
Instagram

- Copyright © Madriva -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -