Precompilation with aspnet_compiler - On Premise – Configurations & Setup - On Premise – Configurations & Setup - Progress Community
 On Premise – Configurations & Setup

Precompilation with aspnet_compiler

  • Precompilation with aspnet_compiler
  • Hi All,

    I've been trying to use aspnet_compiler to pre-compile my site in order to avoid or minimize running csc.exe after an application pool recycle. However after running the compiler recycling the app pool still causes a tonne of csc.exe processes to be kicked off and the server to grind to a halt until compilation is complete. In addition to this, I get a 404 when trying to visit any page on the site.

    The command I'm running to compile the site is: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -p "E:\webRoot\application" -v //localhost/application E:\webRoot\application

    I've scoured the internet for an answer to this but I haven't managed to turn up much. As the application uses Sitefinity I was wondering if there are any Sitefinity related issues affecting the pre-compilation of a site?

    Any information would be hugely appreciated as our site is currently experiencing severe performance issues whenever an app pool is recycled.

    Thanks a lot!

  • Hello Max,

    We have already answered you in the support thread. Please, continue the communication there. You are free to share any information you find useful with the community.

    Nikola Zagorchev
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items