Solved

Slow response of web application first time after recompilation

Posted on 2014-03-05
3
139 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
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 …
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
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…

757 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

18 Experts available now in Live!

Get 1:1 Help Now