Skip to content

BredStik/HangFire.Windsor

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.Windsor

HangFire background job activator based on Castle Windsor IoC Container. Installation

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

Install-Package HangFire.Windsor

Usage

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

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

    protected void Application_Start()
    {
    	_container = new WindsorContainer();            

    	/* Register types */
    	/* _container.Register(Component.For<ISomeInterface>().ImplementedBy<SomeImplementation>()); */
		
	JobActivator.Current = new WindsorJobActivator(_container.Kernel);
    }
}

Disclaimer

This is pretty much a conversion of HangFire.Ninject including this Readme!

About

HangFire background job activator based on Castle Windsor IoC Container.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •