More in this section
Forums / Developing with Sitefinity / Override the page strategies

Override the page strategies

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.
1 posts, 0 answered
  1. Peter
    Peter avatar
    0 posts
    Registered:
    08 May 2017
    08 May 2017
    Link to this post

    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:

    http://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?

1 posts, 0 answered