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.43k stars 1.71k forks source link

Lunch two instance of Hangfire #2411

Open amirhosseinezpin opened 5 months ago

amirhosseinezpin commented 5 months ago

I had to add Hangfire in my DI in two projects in one solution. I found that there was something wrong and I got an error "Unable to resolve service for type 'service1' while attempting to activate ''service 2". Is there any way to fix it? It means that I had to work with two projects in my test project and I wanted to use two separate instances of the Hnagfire, but I got an error.