Murach's ASP.NET 2.0 Upgrader's Guide: C# Edition
How to use profiles

Chapter 9 shows you how to work with authentication to create user accounts. This chapter builds on that knowledge to show you how to use the profile feature to store additional information about a user, like user preferences for working with a web site, or session data, like a shopping cart.

Chapter 10 How to use profiles
An introduction to profiles 336
Profiles compared with session state 336
An overview of how profiles work 338
How the default profile provider works 340
How to use profiles with authenticated users 342
How to define profile properties 342
How to specify data types 344
How to group profile properties 346
How to specify default values 348
How to specify read-only properties 348
How to use custom types 350
How to use profiles with anonymous users 352
How to enable anonymous identification 352
How to allow anonymous users to access profile properties 352
How to migrate data from anonymous to authenticated users 354
The Cart Profile application 356
The pages 356
The code 360
How to use a custom profile provider 366
How to edit the web.config file so it uses a custom profile provider 366
How to write the class for the provider 368
The stored procedure that's used by the custom profile provider 374




Murach's ASP.NET 2.0 Upgrader's Guide: C# Edition

Learn more about this book

Add this book to your cart



Our Ironclad Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a full refund...no questions asked.