GithubHelp home page GithubHelp logo

cofoundry.plugins.backgroundtasks.hangfire's Introduction

Cofoundry.Plugins.BackgroundTasks.Hangfire

Build status NuGet Gitter

This library is a plugin for Cofoundry. For more information on getting started with Cofoundry check out the Cofoundry repository.

Overview

HangFire is an easy way to perform background processing in .NET and .NET Core applications. No Windows Service or separate process required. Backed by persistent storage. Open and free for commercial use.

โ€” hangfire.io

This Hangfire imlpementation of Cofoundry.Core.BackgroundTasks includes:

  • A HangFire implementation of IBackgroundTaskScheduler
  • Automatically initializes HangFire using a Startup Task
  • Sets up HangFire to use SqlServer storage using the Cofoundry connection string.
  • Optionally sets up to the HangFire dashboard for admin users at /admin/hangfire

Cofoundry does not include a background task runner by default so it is recommended that you use this library if you need to run background tasks.

Settings

  • Cofoundry.Plugins.Hangfire.Disabled: Prevents the HangFire server being configuted and started. Defaults to false.
  • Cofoundry.Plugins.Hangfire.EnableHangfireDashboard: Enables the HangFire dashboard for Cofoundry admin users at /admin/hangfire. Defaults to false.

Customizing the HangFire Initialization Process

We use an automatic boostrapper to make HangFire integration simple for most scenarios, but if you want to customize the process you can override the default IHangfireServerInitializer implementation using the Cofoundry DI system.

This might be required if you want to configure a faster storage engine like reddis for scaling up your deployment.

cofoundry.plugins.backgroundtasks.hangfire's People

Contributors

heyjoel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.