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
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  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
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 4:51 AM
Resolved
User is offline hdany
9 posts
10th Ranked


Compile DotNetNuke faster after minor code changes 

Hello,

I am currently working on a dotnetnuke project with many ascx files.
Can anyone help me with an advice on how to compile my website faster ?

For example , if I edit the codebehind file in one of my user controls , I rebuild the project in Visual Studio 2008 and then hit the refresh button in my web browser , it takes an average of 40 - 50 seconds to render the page. Is there anyway to recompile only the user control I made the minor changes at and not the whole project ?
I don't even know if this is why it takes so long to re-render the page after rebuild. I am using DotNetNuke v 4.8. My PC is an AMD XP 1800+ CPU with 1.5 GB RAM.
I am grateful for any advice to get a more decent loading time. Thanks !

 
New Post 6/14/2008 9:01 AM
User is offline Hooligannes
1507 posts
www.nesinteractivos.com
5th Ranked






Re: Compile DotNetNuke faster after minor code changes 

Use WAP to get independently compiled modules. Michael Washington has a tutorial about using this approach.


Do you know the truth when you hear it?
The Dúnadan Raptor
Check My Blog for DNN advice and more
 
New Post 6/14/2008 9:29 AM
User is offline hdany
9 posts
10th Ranked


Re: Compile DotNetNuke faster after minor code changes 

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.

 

 
New Post 6/14/2008 11:15 AM
User is offline John Mitchell
3854 posts
www.snapsis.com
4th Ranked




Re: Compile DotNetNuke faster after minor code changes 

If you only change a user control's code behind file you do not need to recompile the whole solution.  Instead of pressing F5, right-click on the default page and open it in a browser.

Then if you want to debug you can go to the Debug menu and use attach to process to attach the debugger to the asp.net worker process.

You can also go to Build > Configuration on the main menu and turn off the compile for all the projects.
Then if you ever change a specific project you can right-click on it in the solution explorer and choose to build just that one.

Even doing all this you will still notice a little delay while the website does it's runtime compile after changing the code-behind, but it should be much faster.


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


Re: Compile DotNetNuke faster after minor code changes 

I know you guys are trying to help , but I tried your suggestions and still no speed improvement.

I mean , in my solution I have 5 projects located each one in a folder in DesktopModules
Each projects consists only of  VB and C# classes and user controls.
There is only  Default.aspx file in the root of my DNN install folder.

Even if I uncheck in Build -> Configuration Manager the other 4 project that I am not currently working on , there is no speed improvement when I reload the page in my browser after some codebehing change in the project I am working at.
It's not Visual Studio that takes a long time to compile , actually it is pretty quick even when building the entire solution with all my 5 projects.

The problem is  when i reload the page in my browser , because it takes about 40-50 seconds to render the page.
I've tried your first suggestion , not to rebuild the project after modifying the code behind file and only to re-open the page in my browser , but doing so , my code does not get updated. I still see the same result that I saw before modifying the code.

If you have any other ideas , I'm glad to hear them. Thanks for your answers !

 
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.

 


Adaptive InfoSystems, Inc.
We provide custom programming and various levels of support for DotNetNuke and the .Net framework.
www.aisysweb.com
Multipartner Virtual Data Rooms
The Virtual Data Rooms (VDR) provided by an expert advisor, far from any ordinary software company!, supporting the sellers and their consultants. Multipartner builds and services higly professional Virtual Data Rooms (VDR) specifically tailored to M&A, Real Estate and NPL deals.
www.multipartner.com
DNN SEO
Seablick Consulting specializes in DNN search engine optimization (SEO), DNN consulting, as well as support & training.
seablick.com

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