Sams Teach Yourself ASP.NET 2.0 in 24 Hours, Complete Starter Kit

Q&A

Q1:

I like how ASP.NET provides inherent user account support, but it seems to make a lot of assumptions for me. For example, passwords are stored as hashed digests, the user's password must be seven characters long and include nonalphanumeric characters, and so on. I want to change some of these defaults. Is this possible?

A1:

Yes. The membership feature of ASP.NET is highly customizable through the website's web.config file. For more information, consult the "How To: Use Membership in ASP.NET 2.0" documentation at http://msdn.microsoft.com/library/en-us/dnpag2/html/PAGHT000022.asp.

Категории