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  |  

PortalWebHosting
  Ads  
 


  Sponsors  

Meet Our Sponsors

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
The Official Microsoft ASP.NET Website
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Chat About It!  Compile DotNetNuke faster after minor code changes
Previous Previous
 
Next Next
New Post 6/14/2008 2:03 PM
User is offline John Mitchell
3868 posts
www.snapsis.com
4th Ranked




Re: Compile DotNetNuke faster after minor code changes 

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.


 
New Post 6/14/2008 3:19 PM
User is offline hdany
9 posts
10th Ranked


Re: Compile DotNetNuke faster after minor code changes 

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 7:09 PM
User is offline Hooligannes
1599 posts
www.nesinteractivos.com
5th Ranked






Re: Compile DotNetNuke faster after minor code changes 

 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?
The Dúnadan Raptor
Check My Blog for DNN advice and more
 
New Post 6/15/2008 2:48 AM
User is offline hdany
9 posts
10th Ranked


Re: Compile DotNetNuke faster after minor code changes 

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 7:23 AM
User is offline John Mitchell
3868 posts
www.snapsis.com
4th Ranked




Re: Compile DotNetNuke faster after minor code changes 

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


 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Chat About It!  Compile DotNetNuke faster after minor code changes
 


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.

 


DeutschNetNuke = DotNetNuke in German
DeutschNetNuke provides all DotNetNuke related services in German (and English).
www.DeutschNetNuke.de
The Standard in Senior Housing Information
SNAPforSeniors provides consumers with free online resources to assist them with their search for senior housing
www.snapforseniors.com
DotNetNuke Web Hosting w/ ASP.NET 3.5
Unlimited email boxes, Unlimited databases, Unlimited domains. Plans start at $4.97
www.MyWinHosting.com

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