Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Custom Module Development & VS Setup
Previous Previous
 
Next Next
New Post 6/11/2008 11:48 AM
User is offline Chas
77 posts
10th Ranked


Custom Module Development & VS Setup 

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 1:04 PM
User is offline Brian Dukes
476 posts
www.engagesoftware.com
8th Ranked


Re: Custom Module Development & VS Setup 

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
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 6/11/2008 1:05 PM
User is offline Joshua Beall
134 posts
9th Ranked


Re: Custom Module Development & VS Setup 

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 5:51 PM
User is offline Snoek8
52 posts
www.mexmax-internet.com
10th Ranked


Re: Custom Module Development & VS Setup 

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 7:31 AM
User is offline Chas
77 posts
10th Ranked


Re: Custom Module Development & VS Setup 

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 Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Custom Module Development & VS Setup
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


The Standard in Senior Housing Information
SNAPforSeniors provides consumers with free online resources to assist them with their search for senior housing
www.snapforseniors.com
DotNetNuke Web Hosting w/ ASP.NET 3.5
Unlimited email boxes, Unlimited databases, Unlimited domains. Plans start at $4.97
www.MyWinHosting.com
SteadyRain
Founded in 1999, SteadyRain has extensive experience delivering Internet technology strategies and solutions for a diverse client base, ranging from Fortune 500 firms to successful start-ups.
www.steadyrain.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP