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.0To WAP or Not to WAP?To WAP or Not to WAP?
Previous
 
Next
New Post
2/2/2007 7:21 PM
 
I am new to module development and am reading up on how to convert my existing applications to DNN modules. I develop using SQL2005 and VS 2005 in C#.

Some tutorials mention downloading the addon from Miscrosoft for VS 2005, http://msdn2.microsoft.com/en-us/library/aa730880(VS.80).aspx.

My question is two part; (1) can I develop a module using the existing Web site project model already available in Visual Studio 2005 instead of using WAP? I would prefer to use the existing model, can some one point out the pros and cons or direct me to some site with tutorials on this topic as well as (2) topics on moving existing web projects to modules on DNN, specifically how to handle links to other pages in my module.

Thanks.
 
New Post
2/3/2007 2:15 PM
 

howard23 wrote

My question is two part; (1) can I develop a module using the existing Web site project model already available in Visual Studio 2005 instead of using WAP? I would prefer to use the existing model, can some one point out the pros and cons or direct me to some site with tutorials on this topic as well as (2) topics on moving existing web projects to modules on DNN, specifically how to handle links to other pages in my module.

Thanks.

Yes you can use the existing method. Here are tutorials:

  • Super-Simple Module (DAL+)
  • Super-Fast Super-Easy Module (DAL+)
  • Using the DotNetNuke Website Starter Kit
  • Survey Module Tutorial (C# and VB)
  • Also read Module Development in DNN 4.x By Charles Nurse



    Michael Washington
    http://ADefWebserver.com
    www.ADefHelpDesk.com
    A Free Open Source DotNetNuke Help Desk Module
     
    New Post
    2/3/2007 4:51 PM
     
    Michael,

    Thanks for your prompt response, the links you mention were the first pages I looked at while do my initial search. All the examples I have seen so far talk about putting code in the App_Code/ModuleName and DesktopModule/ModuleName folders which I think can get messy if the module is large and requires several user controls. I have a web site which I intend to build a module out of has 700 files divided into 5 projects, one web site and 4 Class projects, I am using VS 2005 and developing C#. For this module I want to be able to have some sort of code separation by, if possible, add separate projects into the Install version of DNN. The DNN Module Developers Guide talks about adding a separate project for the module under development and adding controls to it which I can't seem to do in VS 2005. I DO NOT want to install the web Application project template to my VS to use the
    Precompilation option  in VS, considering this requirement, how do I proceed in setting up my development environment?

    Thanks.
     
    New Post
    2/4/2007 10:17 AM
     

    howard23 wrote
    All the examples I have seen so far talk about putting code in the App_Code/ModuleName and DesktopModule/ModuleName folders which I think can get messy if the module is large and requires several user controls.

    I do understand that if you have 700 files and don't want them all in one directory! I would have multiple directories in the App_Code folder. Perhaps 70 directories with 10 files each? If each file is in it's own class it can reside in a directory directly under the APP_Code directory, otherwise it can reside in it's own directory under a common directory that resides under the App_Code directory.

    In the http://iweb.adefwebserver.com project we use this structure:

    As we add files we keep adding folders to keep them organized. We do this instead of breaking it out into separate projects.

    howard23 wrote

    The DNN Module Developers Guide talks about adding a separate project for the module under development and adding controls to it which I can't seem to do in VS 2005.

    Are these the directions you're using (Using Web Application Projects (WAP) )?

     



    Michael Washington
    http://ADefWebserver.com
    www.ADefHelpDesk.com
    A Free Open Source DotNetNuke Help Desk Module
     
    New Post
    2/4/2007 5:10 PM
     
    AdefWebserver wrote
    Are these the directions you're using (Using Web Application Projects (WAP) )?

    No, I have not installed the WAP template, rather working with the Install version of DNN 4.4.1.
     
    Previous
     
    Next
    HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0To WAP or Not to WAP?To WAP or Not to WAP?


    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