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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Copying Site to LocalHost won't runCopying Site to LocalHost won't run
Previous
 
Next
New Post
4/14/2013 8:23 AM
 

Hi Anderson,

I am trying to develop a module for my website.  I thought the only way to develop a module was to bring my site down locally, then develop the module in VS.  I find documentation on this entire site VERY difficult to find and use.  Any help on pointing me in a correct direction would be very much appreciated.

I have an application that is up and running with a few hundred users.  I am trying to write a module for class registration.  I wanted to use a copy of the database and website so I could make sure my module would work with existing data.  I was told to bring down a copy of both my website and my database and work locally.  THAT is what I've spent the last 4 days trying to do.  I've got everything locally running, but cannot get the website to open in VS.

This morning, I tried to just install a brand new copy of DNN and am now getting a message saying "No valid default database connection detected. Standard Database setup option is unavailable"

I am really frustrated with DNN at this time.  I'm a .NET developer and cannot figure out how to work with this product (Sorry if I sound a bit frustrated right now).

Any help would be appreciated on how I should be going about all of this.

 
New Post
4/14/2013 8:42 AM
 

There are two different ways that you can go about building modules in dnn being WAP and WSP.

If you are just looking at building a module for your own site - i would strongly recommend going the WSP approach.

All you need to do is open your website in visual studio - and start creating the module directly inside /DesktopModules/.
There is no need to ever compile code using WSP - asp.net will automatically compile your code on the fly.

Have a look at the adef website it has some good examples that utilize the WSP approach.

http://www.adefwebserver.com/dotnetnu...

There is a hello world example that pretty much goes thru things step by step.

http://www.adefwebserver.com/DotNetNu... 

Another option is the module creator on codeplex - it will help with the generics of creating a module including settting up folders and structure and registering the module on the system.

http://www.dotnetnuke.com/Community/E...

https://dnnmodulecreator.codeplex.com/

 
New Post
4/14/2013 11:24 AM
 

Thanks Wes,  I'll give this a try.  The way we do it at work is you have to compile the complete project before beginning to look for dependencies and/or build errors.  I'll take a leap of faith and give your method a try.

Thanks!

...AND thanks for the helpful link.  I am completely amazed at how confusing it is to find info. on the DNN site.  I feel like I'm missing something every time I try to use the site to get information.  

 
New Post
4/14/2013 6:08 PM
 

Wes,

Using the method you mentioned, how do I debug my code?  

 
New Post
4/15/2013 3:16 PM
 

All,

Thanks for your help with getting my site setup for development.  I ended up finding a video tutorial that explains what needs to happen to begin developing modules in DNN:

http://www.dotnetnuke.com/Resources/V...

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Copying Site to LocalHost won't runCopying Site to LocalHost won't run


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