HangfireIO / Hangfire

An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
https://www.hangfire.io
Other
9.32k stars 1.69k forks source link

DashboardRoutes extensibility #1205

Open alimozdemir opened 6 years ago

alimozdemir commented 6 years ago

Hello,

I was trying to develop an extension to Hangfire. DashboardRoutes is the main static class for the registering pages, static files and the other routes, and hence, after some experimental tests and source code surfing, it seemed it is very limited for extensibility. I don't know the "extensibility" is the right keyword here. The class has only "Add" methods and we can not update or delete the existing routes.

I thought, I/We can add those missing methods. What can we do about it ?

pieceofsummer commented 6 years ago

You may take a look at how it is implemented for Hangfire.Console.

alimozdemir commented 6 years ago

Thanks. It is a good solution. But, I think Hangfire should handle those operations by itself. Also, I still didn't understand why hangfire classes are mostly "internal" (e.g. EmbeddedResourceDispatcher).