Routing issue - pages not loading

Hi guys,

I am a .NET newbie so be patient!

I have configured hangfire dashboard but I am unable to load css/js or any other routes for that matter: hangfire/jobs/enqueued/ etc. The initial page /hangfire does load though.

When i hit the css page I get the following error:

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /hangfire/css1617/

When I hit hangfire/jobs/enqueued/ I get this error:

No HTTP resource was found that matches the request URI 'http://localhost/hangfire/jobs/enqueued/'. No route providing a controller name was found to match request URI 'http://localhost/hangfire/jobs/enqueued/'

Can anyone point me in the right direction to setup the hangfire routes in conjuction with my current routes?

Thanks in advance for any help.

Bob

This was down to my rewrite rules adding a trailing slash to the url. Hope it helps someone.