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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationConventions/Principles re User/Role/Membership Authorization ArchitectureConventions/Principles re User/Role/Membership Authorization Architecture
Previous
 
Next
New Post
7/4/2009 3:38 PM
 

Here's some basic facts taken from current DNN 5.1.0 source package:

Project Provider.Membership.AspNetProvider
Assembly DotNetNuke.Provider.AspNetProvider
File AspNetMembershipProvider.vb
Class DotNetNuke.Security.Membership.AspNetMembershipProvider
Inherits
Class DotNetNuke.Security.Membership.MembershipProvider
which is from
Project DotNetNuke.Library
Assembly DotNetNuke
File /Security/Membership/MembershipProvider.vb

Project Provider.Membership.DataProvider
Assembly DotNetNuke.Membership.DataProvider
File SqlDataProvider.vb
Class DotNetNuke.Security.Membership.Data.SqlDataProvider
Inherits
Class DotNetNuke.Security.Membership.Data.DataProvider
which is from
Project Provider.Membership.DataProvider
Assembly DotNetNuke.Membership.DataProvider
File DataProvider.vb
 

Given the above, I have a number of questions:

1) Any conventions regarding naming of projects, assemblies, files, and classes? If so, then can those conventions be stated explicitly?

2) Any conventions regarding architectural organization? Other than a concrete class inheriting from an abstract class, what convention determines which functionality goes in one abstract class versus the other abstract class when both abstract classes have similarly named functions?

Can anybody explain the principles and conventions here in a clear straightforward manner?

 

 


CT
 
New Post
7/6/2009 2:51 AM
 

Are you talking about the AD provider in particular or any modules in general?

 
New Post
7/6/2009 12:26 PM
 

Thanks for reply.

I'm talking about providers in general although I am most interested in providers for authentication and authorization, ie, users roles and membership providers.

Here's an example of another general question regarding providers: On page 226 of the Pro DNN 5 book by Walker et al (Wrox Press), there's a brief statement about DNN 5 having new ability to instantiate provider without configuration in the web.config file by using Inversion of Control design pattern. Where can I find any examples of this technique? Where is it implemented in the DNN source code library?

In general, I'm looking for better documentation, explanation and examples for DotNetNuke's implementation of providers both with and without use of the web.config settings.


CT
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationConventions/Principles re User/Role/Membership Authorization ArchitectureConventions/Principles re User/Role/Membership Authorization Architecture


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