Copied to clipboard

Flag this post as spam?

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


  • Streety 358 posts 568 karma points
    Jan 03, 2018 @ 18:07
    Streety
    0

    Show Hangfire Dashboard within Umbraco App

    I am trying to build a wrapper around the fab Hangfire Task Scheduler.

    There are a few resources out there but nothing that lets you create a new CreateTreeNode item within your tree that can output the hangfire dashboard URL.

    This Tutorial HOW TO INTERGRATE HANGFIRE INTO THE UMBRACO BACKEND suggested a deprecated method inheriting BASETREE.

    There is an overload on the CreateTreeNode method to add a Route

    So the question is:

    Can you include on a CreateTreeNode node in your custom tree an external route to a service (such as the hangfire dashboard)...or other method to get the dash to show in the right pane on-click?

    Many thanks.

  • Streety 358 posts 568 karma points
    Jan 08, 2018 @ 14:55
    Streety
    1

    bueller

  • Kristoffer 10 posts 80 karma points c-trib
    Jan 09, 2018 @ 09:20
    Kristoffer
    0

    I achieved this by creating a new Dashboard section, providing my own html file for its view.

    In this html file I have a iframe to the hangfire dashboard. That pretty much solves it.

  • Streety 358 posts 568 karma points
    Jan 09, 2018 @ 09:47
    Streety
    0

    Thanks for that.

    Yes I know I can do that but I was looking for a "non" hack solution.

    And especially as you could do this before. I was hoping that inheriting TreeController would have at least the same functionality as the deprecated BaseTree.

    Maybe not.

  • John Bergman 483 posts 1132 karma points
    Jan 09, 2018 @ 17:16
    John Bergman
    0

    I too would be interested in more details around this.

  • AndrewS 3 posts 23 karma points
    Sep 06, 2019 @ 15:13
  • Jeroen Vantroyen 54 posts 394 karma points c-trib
    Jun 03, 2020 @ 07:42
    Jeroen Vantroyen
    0

    Just in case someone - like me - stumbles on this older question.

    I just followed this blog by Sebastiaan and it still applies to the latest version of Umbraco (8.5.5 as I write this). Takes less than an hour.

    https://cultiv.nl/blog/using-hangfire-for-scheduled-tasks-in-umbraco/

Please Sign in or register to post replies

Write your reply to:

Draft