Creating a Custom Membership Provider and Membership User utilizing a DataSet Table Adapter - Introduction

In this article series, I provide a small web project in VB and zip file format to demonstrate how to write a Custom Membership Provider, Custom Membership User and Custom Roles using a DataSet and Table Adapters.

Click here to read: Creating a Custom Membership Provider and Membership User utilizing a DataSet Table Adapter - Introduction

Since I specialize in converting existing ASP Classic websites to ASP.net, the need to connect to an existing database is a major concern. Microsoft provides Membership Providers that ship with the .NET Framework, but for most existing websites, the database schema won't be compatible, therefore requiring the use of a custom Membership Provider.

This series of articles will cover these topics:

  1. Creating the Project and Folders.
  2. The Table Data Structure used for this Tutorial.
  3. Setting up your Web.config file for your custom provider.
  4. Creating your Data Access Layer to your legacy SQL Server 2000 or SQL Server 2003 database.
  5. Creating your custom MembershipProvider class which implements the ValidateUser, GetUser, and CreateUser methods.
  6. Creating a custom MembershipUser class.
  7. Creating a Provider Wrapper Class for Overloaded and Custom GetUser and CreateUser methods.
  8. How to call / use the Custom MembershipProvider and Wrapper within a codebehind page.

This project was written in VB and can be opened in Visual Web Developer or Visual Studio.

No Comments