Wrox Home  
Search

Topic: ASP.NET

Cover image for product 0470457325
Done in 60 Minutes: Building a Custom DotNetNuke Membership Provider
Antonio Chagoury
ISBN: 978-0-470-45732-0
Wrox Blox PDF
26 pages
January 2009
Electronic Version: US $6.99 Purchase This Download

About This Title  |  Download Code  |  Errata
Description
This Wrox Blox will give you a high-level overview of the core Membership Provider and its default implementation, (ASP.NET Membership), and demonstrate how to build and configure your own custom provider. The Provider Model is a design pattern introduced in .NET to provide a simple way to extend API functionality. DotNetNuke uses this architecture to allow some of its core functionality to be replaced without modifying core code. 

While this Wrox Blox describes how to develop a custom DotNetNuke Membership Provider, it also provides some general information about the .NET Framework’s (2.0 and above) Provider Model, the ASP.NET Membership Provider included in the System.Web.Security namespace, and how they relate to DotNetNuke’s core framework. It also discusses reasons to consider writing a custom provider and gives some guidance as to when doing so is recommended and when it may not be a good choice. 

Because this is an advanced DotNetNuke development topic, readers should already know how to install the source code version of DotNetNuke on your development environment. Therefore, this Wrox Blox does not provide a step-by-step guide on how to do that. If readers need help in setting up a DotNetNuke development environment, visit www.dotnetnuke.com and click on the documentation or forum areas. 

All code samples accompanying this Wrox Blox are written in VB.NET, although a C# translation of the same code will yield the same functional results.

Table of Contents

The Provider Model 1

ASP.NET Membership Provider and DotNetNuke 2

Why Build a Custom Membership Provider? 5

Building the Custom Membership Provider 6

Setting Up DotNetNuke 6

Setting Up the Sample CRM Database 7

Putting It All Together 13

Wrapping Up 21

About Antonio Chagoury 22

Usage Rights for Wiley Wrox Blox 

Any Wrox Blox you purchase from this site will come with certain restrictions that allow Wiley to protect the copyrights of its products. After you purchase and download this title, you:    

  • Are entitled to three downloads
  • Are entitled to make a backup copy of the file for your own use
  • Are entitled to print the Wrox Blox for your own use
  • Are entitled to make annotations and comments in the Wrox Blox file for your own use
  • May not lend, sell or give the Wrox Blox to another user
  • May not place the Wrox Blox file on a network or any file sharing service for use by anyone other than yourself or allow anyone other than yourself to access it
  • May not copy the Wrox Blox file other than as allowed above
  • May not copy, redistribute, or modify any portion of the Wrox Blox contents in any way without prior permission from Wiley 

If you have any questions about these restrictions, you may contact Customer Care at (877) 762-2974 (8 a.m. - 5 p.m. EST, Monday - Friday). If you have any issues related to Technical Support, please contact us at 800-762-2974 (United States only) or 317-572-3994 (International) 8 a.m. - 8 p.m. EST, Monday - Friday).

ASP.NET Related Resources

Forums

Blogs

Articles