Murach's ASP.NET 2.0 Upgrader's Guide: VB 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 334
Profiles compared with session state 334
An overview of how profiles work 336
How the default profile provider works 338
How to use profiles with authenticated users 340
How to define profile properties 340
How to specify data types 342
How to group profile properties 344
How to specify default values 346
How to specify read-only properties 346
How to use custom types 348
How to use profiles with anonymous users 350
How to enable anonymous identification 350
How to allow anonymous users to access profile properties 350
How to migrate data from anonymous to authenticated users 352
The Cart Profile application 354
The pages 354
The code 356
How to use a custom profile provider 364
How to edit the web.config file so it uses a custom profile provider 364
How to write the class for the provider 366
The stored procedure that's used by the custom profile provider 372




Murach's ASP.NET 2.0 Upgrader's Guide: VB 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.