What's new in ASP.NET 2.0 in terms of Authentication?

From Guidance Share

Jump to: navigation, search

J.D. Meier, Prashant Bansode, Alex Mackman

Answer

ASP.NET version 2.0 introduces a membership feature, which provides a consistent API for user credential storage and management. You can use membership with forms authentication. Membership supports a provider model, with the SqlMembershipProvider for SQL Server databases and ActiveDirectoryMembershipProvider for Active Directory and Active Directory Application Mode (ADAM) stores provided as built-in providers. The provider model is extensible and you can create custom providers for your custom user stores.

ASP.NET version 2.0 also provides built in Login controls including Login, LoginView, LoginName, CreateUserWizard, and ChangePassword controls which work with the membership feature.

If you don't want to use the login controls or have existing code that you want to migrate to using membership, you can use membership APIs like CreateUser, and ValidateUser for manual user management and authentication.

More Information

For more information on using the membership feature, see “How To: Use Membership in ASP.NET 2.0” at http://msdn.microsoft.com/library/en-us/dnpag2/html/PAGHT000022.asp

Personal tools