Override the page strategies - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Override the page strategies

  • Override the page strategies
  • I am new to development in Sitefinity (using MVC and Visual Studio), and every time we start debugging, we have to wait two minutes or more before we can start debugging. I am told that is because Sitefinity is compiling all the views, surely there is a way to get around this?

    While looking for a solution, I found this page in the docs:

    docs.sitefinity.com/for-developers-override-the-page-strategies

    It seems to suggest that it allows you to winnow down the number of pages that are compiled on startup. When I put this code into our app, the code builds, and a breakpoint in BootstrapperInitialized is hit, but the GetPageIds method is never hit.

    I was wondering if there is anything else I need to do in addition to the above code to get it to work?