Copied to clipboard

Flag this post as spam?

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


  • Dylan Sumiskum 3 posts 76 karma points
    Mar 21, 2016 @ 02:22
    Dylan Sumiskum
    0

    Changing the default route configuration for Umbraco API Controller

    I am a subscriber of umbraco.tv. I just finished the API Controllers video. The video did not mention anything about configuring the default route configuration of Umbraco API Controllers. Based on my knowledge so far, I know that I can probably hijack the route of my API controllers by creating a custom WebBootManager, and configuring the custom routes there. Is there a simpler way to do this?

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Mar 21, 2016 @ 07:11
    Dave Woestenborghs
    1

    Hi Dylan,

    There is documentation on how to hijack routes and on how to do custom routes in Umbraco.

    Hijacking : https://our.umbraco.org/documentation/Reference/Routing/custom-controllers

    Custom Routes : https://our.umbraco.org/documentation/Reference/Routing/custom-routes

    Probably you also want to read up on how the request pipeline works to get a better understanding on how umbraco handles requests : https://our.umbraco.org/documentation/Implementation/Default-Routing/

    Dave

  • 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