HangfireIO / HangfireIO/Hangfire
IServiceCollection.AddHangfireServer example configuration
- Dominant language
- C#
- Stars
- 10.1k
- Forks
- 1.8k
- Avg merge
- 1h 19m
- Merged PRs (30d)
- 1
Description
Hi all,
I'm using Hangfire for quite some time.
Is it possible to provide the new configuration for the extension method IServiceCollection AddHanfireServer to pass additional processes and a BackgroundJobServerOptions instance to this new method?
The previous method (IApplicationBuilder AddHangfireServer) is now obsolete and now it requires a NotNull instance of JobStorage on ConfigureServices method.


@odinserj
Contributor guide
Research direction
Start by examining the IServiceCollection.AddHangfireServer extension and compare it with the obsolete IApplicationBuilder.AddHangfireServer method described in the issue. Trace how JobStorage, additional processes, and BackgroundJobServerOptions are currently supplied; done means the new method supports the requested configuration and has an example showing its use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100