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  |  

telerik -- supercharge your DNN websites
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Subfolders in subfolders for a module
Previous Previous
 
Next Next
New Post 7/17/2008 8:24 AM
User is offline Joshua Beall
134 posts
9th Ranked


Re: Subfolders in subfolders for a module 

 Agung Riyadi wrote

If you work with App_Code model, then everytime you want to create a module then you should create two folders with same name both are in DesktopModules and also in App_Code folder. And if you want to compile it into assembly with precompilation, then you will get some strange name (not usefull name).

Or maybe you can see Michael Washington's tutorial about deploying module if you use App_Code model here : http://www.adefwebserver.com/DotNetNukeHELP/DNN_PackageModule/Default.htm

You can also use Rick Strahl's tool here : http://www.west-wind.com/tools/aspnetcompiler.asp

Thanks, that's good information, but that wasn't my question.

My question was, if I switch to module development under the WAP model, will that address the problems I'm having with nested subfolders?  Keep in mind, I'm nesting subfolders two levels deep both within the App_Code folder, and the DesktopModules folder (where the usercontrols, css, and images go).

 
New Post 7/17/2008 9:50 PM
User is offline Agung Riyadi
100 posts
9th Ranked


Re: Subfolders in subfolders for a module 

In WAP model, you don't have any issue in any level of directory depth inside it. In C# it will be dot notation to access usually. Except you create your own namespace and class naming guidelines.

If in your App_Code directory structure is like below :

App_Code
  --> BusinessLogic
      --> Common
          --> Report
          --> etc
      --> Shared

Then, for example, in WAP model you can have a module structure like this :

MyModule
  --> images
  --> js
  --> BusinessLogic
      --> Common
          --> Report
          --> etc
      --> Shared
  --> BusinessInfo
  --> UserControls
  --> etc

That's not a problem. Just put your code inside your App_Code and also it's folder inside your WAP module project.

CMIIW.

HTH.

 
New Post 7/17/2008 10:21 PM
User is offline Sanjay Mehrotra
509 posts
www.acuitisolutions.com
8th Ranked




Re: Subfolders in subfolders for a module 

 Joshua Beall wrote

 Agung Riyadi wrote

 

If you work with App_Code model, then everytime you want to create a module then you should create two folders with same name both are in DesktopModules and also in App_Code folder. And if you want to compile it into assembly with precompilation, then you will get some strange name (not usefull name).

Or maybe you can see Michael Washington's tutorial about deploying module if you use App_Code model here : http://www.adefwebserver.com/DotNetNukeHELP/DNN_PackageModule/Default.htm

You can also use Rick Strahl's tool here : http://www.west-wind.com/tools/aspnetcompiler.asp

 

Thanks, that's good information, but that wasn't my question.

My question was, if I switch to module development under the WAP model, will that address the problems I'm having with nested subfolders?  Keep in mind, I'm nesting subfolders two levels deep both within the App_Code folder, and the DesktopModules folder (where the usercontrols, css, and images go).

 

I would 2nd that - use the WAP Model. I have sub folders within my module folder (to hold style sheets, images, etc) and it works just fine...


AcuitiDP - Oracle Data Provider for DotNetNuke
 
New Post 8/27/2008 2:38 PM
User is offline Joshua Beall
134 posts
9th Ranked


Re: Subfolders in subfolders for a module 

Recommend any resources on how I would convert my module to the WAP setup?  I just went through Michael Washington's tutorial on DNN 4 Module Development, and set it up as the tutorial described.  So now that I've got it setup with code in the App_Code folder, and everything else in the DesktopModules folder, how do I transition to the WAP setup for my DNN module?

  -Josh

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Subfolders in subfolders for a module
 


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.

 


Code 5 Systems, LLC.
The DNN Missing Link: A Form Module. Form Master 1.6 is an intuitive Form Creation Module at a great price. Quality Custom Module development, and DNN consulting services.
www.code5systems.com
SSL Enabled and Amazingly FAST...
SSL enable your DNN web site with SSLRedirect, compress your DNN web site HTTP data flow by up to 75%-90% with HttpCompressionAgent, and monitor your DNN web site's performance with WebKeepAlive...
www.sanibellogic.com
Ultra Media Gallery & Video Gallery
The most popular photo gallery and video gallery module. with Flash interface.
www.bizmodules.net

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