Thread: Listing 16-8
View Single Post
  #1 (permalink)  
Old October 21st, 2006, 09:29 AM
smiller smiller is offline
Authorized User
Join Date: Dec 2005
Location: , , .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Listing 16-8

Well as usual from this stupid book this example just does not work.
Forget the fact that you have to completely figure out on your own how to set up Membership, Personalization and Roles (Nobody uses SQL Express).
This example will not put the personalization attributes in the Database because when you get into the CreatedUser event, yes the user is created, but you aren't authenticated yet. Identity.Name is "" and Identity.Authenticated is false.
So how can it attach personalization info yet.
This book has been like this the whole way. Why bother to write it. I could read a magazine if I just wanted general information and not be shown examples that work. WROX has gone way down down down hill as far as I'm concerned. I don't know if I'll ever buy another book from them. I just want concrete examples that work.