Skip to content

Instantly share code, notes, and snippets.

@dilhan2013
Last active May 11, 2017 00:37
Show Gist options
  • Save dilhan2013/4388f2e88e1ee3d9dd1154005a2dfd11 to your computer and use it in GitHub Desktop.
Save dilhan2013/4388f2e88e1ee3d9dd1154005a2dfd11 to your computer and use it in GitHub Desktop.
Hangfire with Simple Injector

Hangfire - Using Dependancy Injection (Simple Injector)

This guide provide the basic steps required to successfuly implement dependancy injection with Hangfire (https://www.hangfire.io) backgroud task processor engine.

First of all just read this article from Hangfire docs to understand the basics of using IOC container with Hangfire.

I am using the following IOC extention in this example. Hangfire.SimpleInjector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment