Dashboard routing with Web API?

I am having an issue trying to get the dashboard to load in a Web API project. I am using the default /hangfire path. This is the error I am receiving:

No HTTP resource was found that matches the request URI ‘http://localhost:2104/hangfire’.

Do I need to add any routing info in my api configuration?

Hi, i’m using dashboard in Web API project and i didn’t have to add routing info. Is your OWIN class hit when application starts?

It was a routing issue. I had these routes setup and it stopped the hangfire dashboard form being routed to:

           config.Routes.MapHttpRoute(
                name: "DefaultApiNoAPI",
                routeTemplate: "{controller}/{id}",
                defaults: new { id = RouteParameter.Optional });

            config.Routes.MapHttpRoute(
               name: "ActionNoApi",
               routeTemplate: "{controller}/{action}/{id}",
               defaults: new { id = RouteParameter.Optional }
           );