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.0Develop?Develop?
Previous
 
Next
New Post
11/15/2007 10:25 AM
 

Hi Austin,

I could be wrong, but I think one of the benefits of using the WAP model is that your VS project only contains your module's code. So every time you modify your module’s code and go to test it, you only have to compile the code from your module, not the code from the WSP DNN project that it physically lives inside of. Somebody please correct me if I am wrong about this.

Regarding resources for learning the method, there are MANY different resources both through google and on these forums. Just Search for WAP or on google: "WAP DotNetNuke". The problem though is that everyone seems to have their own variation on how they set up their dev environment and use WAP. So I think what you will need to do (and what I am currently doing) is to sift through several of these resources and figure out what works best for you.

I am not yet sure about debug considerations. I haven't gotten that far into my WAP setup yet J

Mitch:

I wanted to mention to you that you might want to consider working through you WAP method using VS 2008, as many people are probably going to be using it soon. Just an idea for your blog post…

 

 
New Post
11/15/2007 3:13 PM
 

Austin Henderson wrote

I am curious about the WAP method...

1. Are there any performance problems with teh WAP model? i.e. does the code compile at runtime?

Actually WAP allows you to build compiled modules that do NOT have source when you install then on the website so no dynamic compilation is needed


2. Are there any resources for learning HOW to develop using the WAP model in regards to DNN?

Yes, there are many resources out there.  Michael Washington has some great tutorials out on his website http://dotnetnuke.adefwebserver.com.  I am also getting ready to start releasing my own tutorials as well as my own customized templates at my site http://www.mitchelsellers.com but it will be a few weeks before it is fully populated.


3. Are there any debug considerations to using WAP model?

Using WAP you are compiling your module which helps catch bugs at runtime, You can still hook in the debugger to trap errors while running DNN, however, I never actually debug and step through my modules, as I haven't found a need to in all of the modules that I have built over my time developing.

Also how come I NEVER get email when this forum updates even though I have selected notification?

That is a big with the forum, it will be fixed sometime.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
11/15/2007 11:01 PM
 

I am a bit confused with this

"Using WAP you are compiling your module which helps catch bugs at runtime, You can still hook in the debugger to trap errors while running DNN, however, I never actually debug and step through my modules, as I haven't found a need to in all of the modules that I have built over my time developing."

I do not know a developer that does not like the ability to insert a break point into a project that is thousands of lines long so they can test... If you are saying you can just hit f5 and watch the code come to life with not a bug to trap then I need you on my staff... ; )

I want to debug in VS2005 with break points and hit F11 to move through the code.. what would be the best way for me to develop these modules with that in mind?

Are you saying that the WAP model is the only model that you can use to prevent distibution of your source?

Thanks

 
New Post
11/16/2007 8:17 AM
 
For Fast Debugging using WSP...  

 

 

  • You do not have to compile each time, simply save the page and refresh your web browser.

 

  • If you need to compile to check for errors, select "build page" to just build the page you are working one (files in the app_code directory do require a full build)

 

  • To debug use Attach To Process (requires the full version of Visual Studio 2005)
    • You may see more than one "aspnet_wp.exe". Hover your mouse over each one and they will identify the asp.net version (after a second or so). Select the one that is "\v2.0..." and click "Attach"
    • On Windows Server 2003 / IIS 6.0, the ASP.NET work process is named "w3wp.exe"




Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
11/16/2007 8:19 AM
 

Austin Henderson wrote

Are you saying that the WAP model is the only model that you can use to prevent distibution of your source?

You can use this method:

Creating compiled assemblies

but using WAP for thsi is easier:

Using Web Application Projects (WAP)



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Develop?Develop?


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