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.0Custom Module Development & VS SetupCustom Module Development & VS Setup
Previous
 
Next
New Post
6/11/2008 1:48 PM
 

I am probably making this more difficult than this should be...

I am trying to figure out the best/easiest way to develop a custom module for DNN.

I would like to be able to have the module be in it's own project.
When checking into source safe I do not want to have to check in/out all of the framework, just my module.
I am not sure the compiled module starter kit is the answer.  
I would like to be able to work in either VS 2005 or VS 2008.
I have been through most of the examples no adefwebserver.com, however I could not find anything that is a complete answer for me.   

Any suggestions?  How are others doing it?

Creating the modules within the framework install itself is not what my company wants.  (Using App_Code etc.)

I would like to be able to use the install or the starter kit install to create the framework and install the database, however after that I need to be able to just add a new project, inherit the DNN library and start writing a custom module.  
Sounds easy enough, but I have not found it to be...am I missing something here?

Please help keep me from losing any more hair.

Chas

 
New Post
6/11/2008 3:04 PM
 

Chas,

This is the model we use for all of our modules.  Create a new Web Application Project (you'll need Visual Studio 2005 SP1 or above), put it in the DesktopModules folder of your development site.  You can then do just as you're suggesting, reference DotNetNuke from the assembly in the website's bin, and get coding.

You'll need to make sure to setup your project to use your DNN site from IIS.  On the web tab of the project's properties, you'll probably want to set the start URL to something like http://localhost/dotnetnuke/tabid/36/default.aspx.  Set the option to use the IIS Web Server, with a project URL like http://localhost/dotnetnuke/desktopmodules/yourmodule and a root override URL of http://localhost/dotnetnuke/ .

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
6/11/2008 3:05 PM
 

The only way I have had success doing module development is within the context of a DNN instalation (the complete DNN framework).  Not a source installation, but a regular, compiled installation.

If you can figure out a way to do what you are a describing, I would love to know about it.  But I'm not aware of a way. :-/

 

  -Josh

 
New Post
6/11/2008 7:51 PM
 

The method Brian describes is the way to go but in stead of adding a web project I would suggest using the Dotnetnuke module template. It is available as a c# and vb version. This creates a folder for your module in you desktopmodules folder and creates default view, edit and settings files aswell as a datatier. All refrences to the required dll´s are set and when you build the project the assembly is put in the bin directory.

You can find more details here

Stephan
http://www.mexmax-internet.com

 
New Post
6/12/2008 9:31 AM
 

Great, thanks for the information.

Last questions on this;  is there a way to utilize the method Brian described and use the Install or the Framework Web Starter Kit instead of the source code version and can that method be used with the file based system in Visual Studio instead of setting up IIS?

Thanks again,

Chas

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Custom Module Development & VS SetupCustom Module Development & VS Setup


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