Yahoo Web Search

Search results

  1. Hangfire. 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.

    • Overview
    • Installation
    • Usage
    • Questions? Problems?
    • Related Projects
    • Building the sources
    • Reporting security issues
    • License
    • Legal

    Incredibly easy way to perform fire-and-forget, delayed and recurring jobs in .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 provides a unified programming model to handle background tasks in a reliable way and run them on shared hosting, dedicated hosting or in cloud. You can start with a simple setup and grow computational power for background jobs with time for these scenarios:

    •mass notifications/newsletters

    •batch import from xml, csv or json

    •creation of archives

    •firing off web hooks

    Hangfire is available as a NuGet package. You can install it using the NuGet Package Console window:

    After installation, update your existing OWIN Startup file with the following lines of code. If you do not have this class in your project or don't know what is it, please read the Quick start guide to learn about how to install Hangfire.

    This is an incomplete list of features; to see all of them, check the official site and the documentation.

    Fire-and-forget tasks

    Dedicated worker pool threads execute queued background jobs as soon as possible, shortening your request's processing time.

    Delayed tasks

    Scheduled background jobs are executed only after a given amount of time.

    Recurring tasks

    Open-source projects develop more smoothly when discussions are public.

    If you have any questions, problems related to Hangfire usage or if you want to discuss new features, please visit the discussion forum. You can sign in there using your existing Google or GitHub account, so it's very simple to start using it.

    Please see the Extensions page on the official site.

    Prerequisites:

    •Razor Generator: Required if you intend to edit the cshtml files.

    •Install the MSMQ service (Microsoft Message Queue Server), if not already installed.

    Then, create an environment variable with Variable name Hangfire_SqlServer_ConnectionStringTemplate and put your connection string in the Variable value field. Example:

    •Variable name: Hangfire_SqlServer_ConnectionStringTemplate

    •Variable value: Data Source=.\\sqlexpress;Initial Catalog=Hangfire.SqlServer.Tests;Integrated Security=True;

    In order to give the community time to respond and upgrade we strongly urge you report all security issues privately. Please email us at security@hangfire.io with details and we will respond ASAP. Security issues always take precedence over bug fixes and feature work. We can and do mark releases as "urgent" if they contain serious security fixes.

    Copyright © 2013-2024 Hangfire OÜ.

    This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.

    By submitting a Pull Request, you disavow any rights or claims to any changes submitted to the Hangfire project and assign the copyright of those changes to Hangfire OÜ.

    If you cannot or do not want to reassign those rights (your employment contract for your employer may not allow this), you should not submit a PR. Open an issue and someone else can do the work.

  2. Learn how to install, configure and use Hangfire, a background processing framework for ASP.NET Core applications. Follow the tutorial to create a database, add Dashboard UI, and run a simple background job.

  3. People also ask

  4. Dec 22, 2021 · Learn how to use Hangfire, an open-source library for ASP.NET Core, to implement background tasks and scheduling. See the architecture, features, and workflow of Hangfire and how to set it up in a Web API project.

  1. People also search for