Hangfire job activator based on Funq
C#
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.nuget
Hangfire.Funq.Tests
Hangfire.Funq
global
.gitignore
Hangfire.Funq.sln
README.md

README.md

Hangfire.Funq

Hangfire job activator based on Funq IoC Container.

Installation

HangFire.Funq is available as a NuGet Package. Type the following command into NuGet Package Manager Console window to install it:

Install-Package Hangfire.Funq

Usage

In order to use the library, you should register it as your JobActivator class:

// Global.asax.cs or other file that initializes Funq bindings.
public partial class MyApplication : System.Web.HttpApplication
{
    private Funq.Container _container;

    protected void Application_Start()
    {
      _container = new Funq.Container();

      /* Register Types */
      _container.Register<Foo>(c => new Foo());

      GlobalConfiguration.Configuration.UseFunqActivator(_container);
    }
}