Hangfire.Autofac - Hangfire job activator based on Autofac IoC container

  •        465

Autofac integration for Hangfire. Provides an implementation of the JobActivator class and registration extensions, allowing you to use Autofac container to resolve job type instances as well as control the lifetime of the all related dependencies.Hangfire.Autofac resolves service instances using a child, tagged lifetime scope. A child scope is created and disposed each time when background job processing takes place, so you have precise control of your service's lifetime, including shared instances and deterministic disposal.

https://github.com/HangfireIO/Hangfire.Autofac

Tags
Implementation
License
Platform

   




Related Projects

Autofac - An addictive .NET IoC container

  •    CSharp

Autofac is an IoC container for Microsoft .NET. It manages the dependencies between classes so that applications stay easy to change as they grow in size and complexity. This is achieved by treating regular .NET classes as components.You can get Autofac by grabbing the latest NuGet packages. If you're feeling adventurous, continuous integration builds are on MyGet.

Autofac for WindowsPhone7

  •    

This project hosts the releases for Autofac built for WindowsPhone7

Zxw

  •    CSharp

基于EF Core的Code First模式的DotNetCore快速开发框架,其中包括DBContext、IOC组件autofac和AspectCore.Injector、代码生成器(也支持DB First)、基于AspectCore的memcache和Redis缓存组件,以及基于ICanPay的支付库和一些日常用的方法和扩展,比如批量插入、更新、删除以及触发器支持,当然还有demo。欢迎提交各种建议、意见和pr~

Hangfire - An easy way to perform background job processing in your

  •    CSharp

Incredibly easy way to perform fire-and-forget, delayed and recurring jobs inside ASP.NET applications. CPU and I/O intensive, long-running and short-running jobs are supported. No Windows Service / Task Scheduler required. Backed by Redis, SQL Server, SQL Azure and MSMQ.Hangfire is a .NET Framework alternative to Resque, Sidekiq, delayed_job, Celery.

DContainer

  •    

DContainer is a common dependency injection adapter for the popular IoC container.


MiniAutFac

  •    

MiniAutFac - simple IoC container for Microsoft .NET that provides base functionality.

IOC Demo

  •    

Simple demo showing how constructor based dependency injection works with Unity and Autofac.

NBlog : ASP.NET MVC 3.0 Blog Engine

  •    CSharp

NBlog is an experimental, lightweight blog engine built with ASP.NET MVC 3, Razor, jQuery and C#. It currently uses these components and technologies: - JSON storage - Markdown editor - Autofac IoC - AntiXSS - HTML5 & CSS3 - OpenID - NSubstitute - ELMAH

My Movies

  •    

MVC 3 Application which uses IOC(Autofac), Entity Framework 4 and Automapper 1.2

ravendbmvc

  •    

- Embedded RavenDB in asp.net MVC - Generic Repository - Dependency Injection with Autofac

ABP-ASP

  •    CSharp

这也是算是一种学习的方法和态度吧,经常去学习和总结,写下一点对于ABP(ABP是“ASP.NET Boilerplate Project (ASP.NET样板项目)”的简称)框架的理解和运用.

Fibo.Authority

  •    

a authority system based on nhibernate,autofac,asp.net MVC,jquery easyui and so on.

POC using ASP.NET Web API

  •    

A Simple POC which uses : ASP.NET WebAPI AdventureWorksLT2008R2 Table AutoFac ( Dependancy Injection ) Restful Service JQuery Template Functionality : User search for a product Add/remove product to cart user can register himself for a new account Submit an order

Unity.MVC3

  •    

A library that allows simple Integration of Microsoft's Unity IoC container with ASP.NET MVC 3. This project includes a bespoke DependencyResolver that creates a child container per HTTP request and disposes of all registered IDisposable instances at the end of the request.

Portable IoC

  •    DotNet

Portable IOC is a tiny thread-safe Inversion of Control container that is portable between Windows Phone, Windows Store (Windows 8), Silverlight, and .NET apps.

InversifyJS - A powerful and lightweight inversion of control container for JavaScript & Node

  •    Typescript

A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript. InversifyJS is a lightweight (4KB) inversion of control (IoC) container for TypeScript and JavaScript apps. An IoC container uses a class constructor to identify and inject its dependencies. InversifyJS has a friendly API and encourages the usage of the best OOP and IoC practices. InversifyJS is a tool that helps JavaScript developers write code with good OO design.

Unity.WebAPI

  •    

A library that allows simple Integration of Microsoft's Unity IoC container with ASP.NET's WebAPI. This project includes a bespoke DependencyResolver that creates a child container per HTTP request and disposes of all registered IDisposable instances at the end of the request.

Unity.WCF

  •    

A library that allows the simple integration of Microsoft's Unity IoC container with WCF. This project includes a bespoke InstanceProvider that creates a child container per client connection and disposes of all registered IDisposable instances once the connection is terminated.

NReco

  •    

NReco: .NET integration framework for model driven development.

ffead-cpp - Framework for Enterprise Application Development, c++ framework, c++ web framework, c++ application framework, c++ rest framework, c++ soap framework, c++ web sites,c++ web applications, c++ driven web development - c++

  •    C++

ffead-cpp is a web-framework, application framework, utilities all bundled into one. It also provides an embedded HTTP/HTT2/Web-Socket compliant high-performance server core. It is a collection of modules all geared towards performing individual roles which together form the cohesive back-bone of ffead-cpp. It provides a very simple to use and maintain web-framework library with advanced features like Reflection, Dependency Injection (IOC), Inbuilt REST/SOAP support, Security/Authentication features. Moreover implementation for interfacing to caching tools like Memcached/Redis are provided in-built. Database integration/ORM framework (SDORM) solves all major issues with respect to interfacing with SQL/No-SQL database alike.