ASP.NET Personalization tutorials

The only one thing that beats good content
on the web is good personalized content. In the era of information overload and
the huge amount of competitive sites, itís important to know your visitors and
understand the possibilities you have to present personalized content.

With a good personalization strategy you can
create a web site that lives up to your userís expectation by presenting them
with exactly the data they are looking for.

Personalization is useful for many different
scenarios: on a sports site you use it to highlight activities from the userís
favorite team.

On a site that deals with programming, you
can personalize content by showing the user examples in their preferred
programming language(s) only.

On a news web site, you can let a user choose
one or more news categories (World, Local, Sports, Business, Financial, and so
on) and target the content you show them based on these preferences.

Understanding Profiles

The ASP.NET Profile is another application service that ships with ASP.NET.
It enables you to store and retrieve information about users to your site that
goes beyond basic information like an e-mail address and password that users
can enter during sign-up. With Profile, you can store information like a first
and last name, a date of birth, and much more, By keeping track of the user
that the data belongs to, ASP.NET is able to map that data to a user the next
time she visits your site, whether that be minutes or weeks later.

The cool thing about Profile is that it allows you to store data for
registered users as well as anonymous users. So, even if your visitors havenít
signed up for an account, you can recognize them and store information about
them. You access the properties of the Profile through a clean API with
virtually no code.

Define the information you want to store for a
user in the web.config file.

Based on this information, the ASP.NET runtime
generates and compiles a class for you on the fly that gives you access to the
properties you defined in step 1. It then dynamically adds a property called
Profile to the pages in your web site, so you can easily access the Profile
from every page in your site.

In your application you program directly to this
generated class to get and store the Profile information for the current user.

The
Profile by default is connected to a logged-in user although you can also save
profile data for unauthenticated users. Because data about the logged-in user
is stored in a cookie, your users need to have browsers that support cookies
for the ASP.NET Profile feature to work correctly.

Thank you for visiting www.cbtSAM.com. This site is dream of Samir Patel, when most people dream when in sleep, my dream doesn't let me sleep. cbtSAM Web site is provided as a service and learning tool to the public. While the information contained within the site is periodically updated,no guarantee is given that the iormation provided in this Web site is correct, complete, and up-to-date. We are not responsible for... Read More .