1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Override the page strategies

Override the page strategies

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