More in this section
Forums / Deployment / Precompilation with aspnet_compiler

Precompilation with aspnet_compiler

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Max
    Max avatar
    1 posts
    13 Feb 2015
    13 Feb 2015
    Link to this post

    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!

  2. Nikola Zagorchev
    Nikola Zagorchev avatar
    424 posts
    19 Apr 2017
    16 Feb 2015
    Link to this post
    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
2 posts, 0 answered