Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

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

README.md

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

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
You can’t perform that action at this time.