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.0Understanding DNN Module DevelopmentUnderstanding DNN Module Development
Previous
 
Next
New Post
1/28/2009 11:29 AM
 

For the past week, I've been reading the documentation that comes with DNN 5 with regards to Module Development.  To say that I've learned a few things would be an understatement.  But I'm also very confused, and my confusion isn't going away.  Here's my problem:

 

DNN 5 seems to be a repackaging of DNN 4.  Some of the folders in DNN 5 are represented the same in DNN 4, but it's organization is a little different (or, at least, it appears different to me.)

All of the documentation that comes with DNN 5 is still written for DNN 4.  The installation document, for example, talks about DNN 4 and DNN 3.

In my case, I initially installed the install zip file and got that configured and up and running.  Because I want to learn how to write "installable" modules, and possibly HTTP Modules, etc., I installed the source zip.  The solution file for the source zip does open in VS 2008 and I can see the sample DNN site correctly.  Editing the web.config and restarting the server does show my changes as expected.

Now to my problem...  I could not find sources for the Desktop modules!  So back to the documentation I went.

I read that the source to these modules is still in the DNN 3.x sources.  So, I downloaded the latest 3.x source and unzipped this onto my machine.  I attempted to open the Solution file in the Desktop Modules folder, but because it's written for VC2003, my VS2008 had to convert it.  I told VC to back everything up and convert.  Opening the "post" conversion solution file works, but there are absolutely NO sub projects.  VS tells me on each and every project that it can't find some reference to some other part of the system.

 

So...  Here's my conundrum:  How do I learn to build installable modules, following along with the various "red" covered reference books (and the "free" documentation) if the solutions can't find anything?  Especially if I'm using VS2008!

Any thoughts / clues on how I should proceed?

 

Robert

 
New Post
1/28/2009 12:39 PM
 

Robert,

whilst dnn 5 has recorganised some of the folders and UI elements a bit, theres no breaking compatibility - code written for dnn2 and above will typically work in dnn5. The reorganisation was mostly a tidy up and reorg so that admin functions could be delegated to other users.

When developing for dotnetnuke, you do not need the source version - the only time you need it is when you plan to make core changes (after which you may not be able to upgrade as you've just created your own custom build). The other reason to use the source version is if you want to step through the dotnetnuke code watching what its doing.

If you don't need to do either of these two things, then a better option is to download the starterkit (http://www.dotnetnuke.com/tabid/125/default.aspx), it'll allow you to easily create dotnetnuke sites, and also add module development templates  -read http://www.dotnetnuke.com/Products/Development/Forge/ModuleReports/tabid/970/EntryId/453/DotNetNuke-4-3-Starter-Kit-and-Item-Templates.aspx , it'll show you how to do all this and get up and running in minutes.

Alternatively, look @ http://www.adefwebserver.com/DotNetNukeHELP/ , this will lead you through a number of development options.

As for the modules, each module has it's own project team, so what version of the dev environment they're using is up to them. Take a look at http://www.dotnetnuke.com/tabid/125/default.aspx , and project marked as "requires asp.net 2.0" will use vs.net 2005/2008. To get at the source, you can either download the source version of the project, or else install it in a dotnetnuke instance, in which case it will unpack and you'll be able to see it in desktopmodules - this is often the easiest option.

 


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/28/2009 12:41 PM
 

The source for the modules is now kept separate from the core code (the project teams are somewhat autonomous with regards to the core team).  You'll need to get each module's source from that module's team.

Now that the source is up on CodePlex, you should just be able to go to the DNN page on CodePlex and use the links in the Related Projects section on the right to access each project's page.

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Understanding DNN Module DevelopmentUnderstanding DNN Module Development


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