Solved

Slow response of web application first time after recompilation

Posted on 2014-03-05
3
141 Views
Last Modified: 2014-07-28
How can we avoid recompilation of ASP.NET webapplication when new DLL file(under bin folder) updated? If recompilation is unavoided then can it be automated? We are attempting to avoid disadvantage of recompilation which is slow response of web application when user runs it first time after recompilation.
0
Comment
Question by:insyncmdonline
  • 2
3 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 39906602
Why not just visit the page yourself after updating so the user doesn't experience the wait?
0
 

Author Comment

by:insyncmdonline
ID: 39917228
Actually, we have hosted our web application at so many locations(on different customer's servers as well as in our hosting environment), so it is bit lengthy to visit each and every website after updating. And this slowness issue after update is not specific to first login page only but it is happening for all inner pages(directory wise) also first time.
0
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39918050
So just precompile it before distribution
http://msdn.microsoft.com/en-us/library/ms227976(v=vs.90).aspx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now