Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.04.3.x Replacing Membership / Profile / Role Providers...4.3.x Replacing Membership / Profile / Role Providers...
Previous
 
Next
New Post
7/6/2006 3:34 PM
 

I havent seen anywhere for gathering quirks and info about replacing the providers for the new way of doing this...  Mebbe we can just start saving the information in this thread as we go along...

James

 
New Post
7/8/2006 1:18 AM
 

I understand the default dotnetnuke provider was made generic so that it could support multiple portals on one server but many users have just one portal and want to use a clean sql database structure that is easy to expand and support.. and run reports on.

Has anyone reading this thread used the SqlTableProfileProvider with DotNetNuke 4.3.2?

If so, what are the required field names and types that must be in the table to support current DotNetNuke 4.3.2 users?

I think this would make a great whitepaper since many people are wondering how to tailor this great portal framework to their company or project and support sql data fields specific to their organization.

Thoughts?

Check out these great links:

http://www.asp.net/sandbox/samp_profiles.aspx?tabindex=0&tabid=1

http://www.jbwebtech.net/Code/ProfileProvider/

SqlTableProfileProvider

 
New Post
7/11/2006 3:59 AM
 

The first section in the config is for the Microsoft ASP.Net providers. (These are provided from Microsoft and have some useful features.)
see: http://msdn2.microsoft.com/en-us/library/6e9y4s5t.aspx (The  'MS Providers')

The second config section is for Charles Nurses custom DNN membership providers.
which seem to use a lot of the same methods as the Microsoft Membership Provider, along with some extra functionality needed by DNN. (The 'DNN Providers')

Overriding/rewriting the DNN Providers (the second one) and plugging your re-written/overridden versions of these classes into DNN seems to do the trick, if you look at the code for the original DNN Providers, you can see that they use a lot of the functionality of the MS Providers. as in some of the methods call methods in the MS Provider.

Such as generating passwords, ensuring the password meets the configuration of the MS Provider. (min/max length/non-alphanumeric chars) , I think it is also used for authenticating the user as well.

It would be good if authentication and unauthentication could also happen in the DNN Providers. Or maybe some event delegates like On_Authenticate and On_LogOff

I've kind of done the same with my new DNN Providers which I based on the original DNN ones but rewrote the code where needed, to plug in our own functionality/data structure.

Hope this helps.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.04.3.x Replacing Membership / Profile / Role Providers...4.3.x Replacing Membership / Profile / Role Providers...


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out