Skip to content

apilavakis/Hangfire.Funq

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages