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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Compile DotNetNuke faster after minor code changesCompile DotNetNuke faster after minor code changes
Previous
 
Next
New Post
6/14/2008 4:03 PM
 

Keep the website running while you make changes. 
Make sure your module does not have a cachetime set. 
Login as host to avoid caching.
Use CTRL+F5 in the browser to make sure you clear the broswer cache on refreshes.


DotNetNuke Modules from Snapsis.com
 
New Post
6/14/2008 5:19 PM
 

My browser is open all the time during development , and so is my website. I only reload the website after making changes.
Also , I am logged in as host. I tried using Ctrl + F5 instead of simply F5 in order to delete cache
In Host -> Module Definitions -> Settings for each module , Default Cache Time is set to 0 .

I still see no improvement in loading time. I turned Tracing on in my Default.aspx page , in the root dnn folder.
This is what came up : click to view screenshot

 I'm not very good in figuring out what all the lines in the tracing section mean, but if you think that can solve the problem , I'll save it as html and upload it so you can take a look.
Anyway , I can't understand why the init cycle takes 42 seconds. If I reload the page with no modification , the init cycle takes about 2 seconds , maybe because it is already stored in memory.

 
New Post
6/14/2008 9:09 PM
 

hdany wrote

Thanks for your answer , but I haven't found the tutorial you were talking about. I did come across on some tutorials posted by Michael Washington , but they are about creating modules and using Linq. This does not help me.

I didn't  understand how to use Web Application Project since it is already integrated in VS 2005 SP 1 and it is a standard feature in Visual Studio 2008 which I am using.

Can you please be more specific ? or post a link to the tutorial you are talking about ?

I would have expected something like a setting in web.config or caching , somehow , in order to only compile the codebehind file I modified instead of the whole project all over again.

 

If you are using WAP, then John's suggestion works. Otherwise browse Michael's tutorials. He has written tutorials for both WSP and WAP approaches.


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
6/15/2008 4:48 AM
 

WAP (Web Application Project) , as a separate application, is discontinued since VS 2005 - SP 1. (check msdn website)
I already said that I am working on Visual Studio 2008, so WAP does not apply.
John's suggestions lead to no improvement as well.

I can't believe that from all the folks that work with dotnetnuke on big projects, nobody has bumped into this problem , and I am the only one.
If no other suggestions, then it means I must change my processor with a more powerful one

 
New Post
6/15/2008 9:23 AM
 

Someone sounds a little frustrated ;)  Startup of DNN is always relatively slow, but the suggestions I gave do help.

In VS 2008 you can create WAP or WSP projects.  The DotNetNuke website solution is a WSP, as are most of the core modules.

Another thing you may want to try is clearing your VSWebCache.
You can also use FileMon to try and get an idea of what is happening at startup.

Also try running the website normally, then open the code-behind file with notepad, make your change and refresh. 
If that works then you will know it is something in the VS environment.
I often use Ultra-Edit (a text editor) when developing to make quick changes.

Getting a brand new computer will probably work too.  I should have thought of that. :0


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Compile DotNetNuke faster after minor code changesCompile DotNetNuke faster after minor code changes


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