Hangfire enables background jobs in .NET projects by reusing existing backend code and dependency injection pipelines. While it shares the default DI container by default, you can implement a custom JobActivator to provide a separate service provider for jobs. This allows you to override specific service implementations for

3m read timeFrom spin.atomicobject.com
Post cover image
Table of contents
Save time and reduce duplication.Reuse your DI pipeline.Using a custom job activator.

Sort: