These days, I’m preparing examples in ASP.NET 2.0, to show the new features of this platform and technology, and begin to use that features on my own projects. One of these new features is the existence of providers. Now, you can interact with defined providers for membership, roles, and profiles. The ASP.NET 2.0 platform has out-of-the-box providers, based on storing the information at MS SQL Server. If you want to know how to use these providers, what are they doing, and ways to extend or replace their functionality, then, you can review the following resources:
You must begin with
Provider Toolkit
http://msdn2.microsoft.com/en-us/asp.net/aa336558.aspx
with resources about the Provider pattern, now used at ASP.NET 2.0. You’ll found that you can use the providers in ASP.NET 1.x, too.
Implementing a Membership Provider
http://msdn2.microsoft.com/en-us/library/f1kyba5e(VS.80).aspx
How to: Implement a Custom Membership User
http://msdn2.microsoft.com/en-us/library/ms366730(vs.80).aspx
A PowerPoint presentation about Building Secure Applications using Membership and Role Management …
http://www.xmlpitstop.com/ArticleManagement/ResourceFileDownload.aspx?ID=42
Brennan’s Blog » Blog Archive » Free Controls for User and Role Management in ASP_NET 2_0
http://brennan.offwhite.net/blog/2006/09/15/free-controls-for-user-and-roles-management/
Brennan wrote controls to use in your web application, that mimic the ASP.NET Administration site
http://brennan.offwhite.net/downloads/ManagedWebsite.zip
Understanding and Extending the Site Navigation System in ASP_NET 2_0
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/extndsitenv.asp
ScottGu’s Blog : Always set the “applicationName” property when configuring ASP.NET 2.0 Membership and other Providers
http://weblogs.asp.net/scottgu/archive/2006/04/22/Always-set-the-_2200_applicationName_2200_-property-when-configuring-ASP.NET-2.0-Membership-and-other-Providers.aspx
ScottGu’s Blog ASP_NET 2_0 Membership, Roles, Forms Authentication, and Security Resources
http://weblogs.asp.net/scottgu/archive/2006/02/24/438953.aspx
ScottGu’s Blog Source Code for the Built-in ASP_NET 2_0 Providers Now Available for Download
http://weblogs.asp.net/scottgu/archive/2006/04/13/442772.aspx
You can download the source code from http://download.microsoft.com/download/a/b/3/ab3c284b-dc9a-473d-b7e3-33bacfcc8e98/ProviderToolkitSamples.msi
Role-based Security with Forms Authentication – The Code Project – ASP_NET
http://www.codeproject.com/aspnet/formsroleauth.asp
How To: Use ADAM for Roles in ASP.NET 2.0
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/paght000018.asp
Role Providers
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/asp2prvdr03.asp
Membership and Role Providers in ASP.NET 2.0 Part II
http://www.odetocode.com/Articles/428.aspx
How To: Create GenericPrincipal Objects with Forms Authentication in ASP.NET 1.1
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT04.asp
ASP.NET Login Controls Overview
http://msdn2.microsoft.com/en-us/library/ms178329.aspx
ADAM as a membership provider
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/bucupro.asp
Using ADAM for Roles and Membership in ASP_NET 2_0
http://www.oftedal.no/~erlend/?blogid=8
and
http://www.oftedal.no/~erlend/?blogid=6
Jeff Prosise wrote whitepapers about the providers:
Microsoft ASP.NET 2.0 Providers: Introduction
Membership Providers
Role Providers
Site Map Providers
Session State Providers
Profile Providers
Web Event Providers
Web Parts Personalization Providers
Some additional links (added december):
The .NET 2.0 Framework Provider Pattern
Provider Model Design Pattern and Specification, Part 1
Provider Design Pattern, Part 2
Angel “Java” Lopez
http://www.ajlopez.com/
