Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter S 169 posts 587 karma points
    Apr 02, 2014 @ 16:06
    Peter S
    0

    Can't change default controller

    I'm trying to change the default controller of my Umbraco 7.1 site but I've run into some issues. I followed the instructions on this page and even if I put the code in Global.asx the first problem is probably that Global.asax is not firing. I put a break point in it on another project and I can step through all the steps but in my Umbraco project I never hit the break point.

    Am I missing something?

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Apr 02, 2014 @ 16:43
    Jeroen Breuer
    100

    Hello,

    Does the global.asax also inherit from your custom class?

    I've explained how to use Global (for something else) in this topic: http://our.umbraco.org/projects/developer-tools/hybrid-framework/hybrid-framework/45020-Implementing-Donut-Caching-and-MVC-part-in-existing-solution

    The Hybrid Framework also uses a default controller which works so you could also use that as an example. Still v6, but it should work the same.

    Jeroen

  • Peter S 169 posts 587 karma points
    Apr 03, 2014 @ 07:39
    Peter S
    0

    I totally missed the markup! Thank you! Once that was changed it was all downhill.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies