[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 164
  • Last Modified:

Slow response of web application first time after recompilation

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
insyncmdonline
Asked:
insyncmdonline
  • 2
1 Solution
 
GaryCommented:
Why not just visit the page yourself after updating so the user doesn't experience the wait?
0
 
insyncmdonlineAuthor Commented:
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
 
GaryCommented:
So just precompile it before distribution
http://msdn.microsoft.com/en-us/library/ms227976(v=vs.90).aspx
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now