Welcome Guest!
Create Account | Login
Locator+ Code:

Search:
FTPOnline Channels Conferences Resources Hot Topics Partner Sites Magazines About FTP RSS 2.0 Feed

Thoughts and commentary from VSLive! Speakers

 Tuesday, September 14

Additional Info About Providers for Membership, Role, Personalization
Posted 05:19 AM    

Posted by: Ken Getz

Since preparing the presentations for VSLive! Orlando on Membership and Profile, I've learned a few things (it's early beta software—there's always something new to learn!).

Three important issues:

1. This one is pretty obvious, but I didn't state it explicitly in my slide deck: If you create a custom provider for ASP.NET 2.0, that provider must be thread safe. My simple demonstration provider makes no effort to be thread safe, and is probably a menace to real Web sites.

2. Again, pretty obvious: Providers are, by their nature, stateless. You need to make sure that you don't count on preserving state between calls to the provider.

3. Not so obvious: The default providers (AspNetSqlProvider, for example) come "pre-configured." If you don't like the default settings, you can use the <remove /> element in an ASP.NET web.config file, and then use the <add /> element to add it back using the settings you want. I spent a long time trying to figure out how to modify the default configuration (and even submitted a bug against it) before figuring this out.

More to come, I have a feeling...  

-- 0 comments: - Post your own comment


Top



< June 2006 >
>> Sun Mon Tue Wed Thu Fri Sat
> 28 29 30 31 1 2 3
> 4 5 6 7 8 9 10
> 11 12 13 14 15 16 17
> 18 19 20 21 22 23 24
> 25 26 27 28 29 30 1
> 2 3 4 5 6 7 8


 Related Terms
Top 10 hits for: Custom providers

1. 
2. 
3. 
4. 
5. 
6. 
7. 
8. 
9. 
10. 

FTPOnline Blog Home

 Recent Posts

     Additional Info About Providers for Membership, Role, Personalization
Posted 09/14/2004
     TDD Transcript
Posted 04/22/2004
     What's the Big Deal About Microsoft Speech Server?
Posted 03/26/2004
     .NET Compact Framework Versioning
Posted 03/25/2004
     What is Mobile2Market
Posted 03/25/2004

 BlogRoll


  
  
  
  
  
  
  
  
  

 Links
   Andrew Brust
   Chris Kinsman
   Keith Pleas
   Richard Hale Shaw
   Tom Barnaby
   Peter Blackburn
   Andy Catlin
   Bill Evjen
   Stephen Forte
   Ken Getz
   Jackie Goldstein
   Scott Hanselman
   Billy Hollis
   Josh Holmes
   Ron Jacobs
   Leon Katsnelson
   Alex Keh
   Don Kiely
   Deborah Kurata
   Rockford Lhotka
   Olga Londer
   Juval Lowy
   Jimmy Nilsson
   Brian Randell
   John Rauschenberger
   Paul Sheriff
   Sanjay Shetty
   Thomas Rizzo
   Kimberly Tripp
   Bill Vaughn
   Shawn Wildemuth









Java Pro | Visual Studio Magazine | Windows Server System Magazine
.NET Magazine | Enterprise Architect | XML & Web Services Magazine
| | Discussions | Newsletters | FTP Home