When I deploy an ASP.NET project to a server that contains many ASCX files, loading the first page may take some time because the ASCX files are compiling. However, only those that are actually on the page are compiled, so part of my deployment process is to go to a bunch of pages on the site. After all the pages have been moved, the site runs smoothly.
I would prefer ASP.NET to collect all of these ASCX files immediately upon deployment in order to remove this inaccurate deployment step.
What is the best way to do this?
source
share