Slow response of web application first time after recompilation

insyncmdonline
insyncmdonline used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Expert of the Year 2014
Top Expert 2014

Commented:
Why not just visit the page yourself after updating so the user doesn't experience the wait?

Author

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.
Expert of the Year 2014
Top Expert 2014
Commented:
So just precompile it before distribution
http://msdn.microsoft.com/en-us/library/ms227976(v=vs.90).aspx

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial