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.0Compiling DNN Module ProjectCompiling DNN Module Project
Previous
 
Next
New Post
8/7/2007 2:29 AM
 

I have not worked alot with ASP.Net 2 and do not know why compiling the project takes so long. While i am develoing a simple DotNetNuke 4 module, some times for a little change in the User Control or the code, it compiles all other contents. How can i make it to comile only my new module? not the whole web site? it is really wasting my time.....

Thank you

 
New Post
8/7/2007 3:45 AM
 

the ASP.Net JIT compiler always compiles the whole site, after a code or resource file has been changed. Using a portal without other modules can speed up the compile process.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/7/2007 4:17 AM
 

I recommend you to take one of these project modules (e.g. Feedback) and compare these settings with yours.  It's true when the library changes you must completely complile the site but normally you must do this once per release. The rest checks if the dlls are up-to-date. One of my module compilation runs takes me ~ 20 secs. 

 
New Post
8/7/2007 9:03 AM
 


Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
8/7/2007 8:41 PM
 

Every time you change any resource stored in the BIN folder - asp.net effectively forces an application restart.
This is a fact of live for any ASP.NET based site.

Whenever you compile your module - its dll is being changed in the BIN folder - so you get an application restart.

When asp.net 2.0 was developed MS set about coming up with a new development methodology that removed this issue.

The key to this methodology is Partial Compilation - and in DNN terms
- the use of DYNAMIC modules - INSTEAD of Compiled modules during development.

Since a dynamic module does not create a COMPILED DLL - there is nothing in the development cycle to trigger an application restart.

>>>>

The downside of course is that you dont have a DLL for distribution purposes.

SO what we do these days is - do all our development testing in a dynamic module -
then at release create a compiled version of the module and make a DLL.

It is a little bit of a messy step - BUT does avoid a lot of frustration in the DEV phase.

It should be noted too that- if you are not releasing a module to the public
 - then there is not real valid reason to bother with a DLL.

Just copy your files onto your live server and away you go - no DLL needed.

Westa

 

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Compiling DNN Module ProjectCompiling DNN Module Project


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