Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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);
    }
}

About

Hangfire job activator based on Funq

Resources

Releases

No releases published

Packages

No packages published

Languages