Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
ASP.NET CORE: BACKGROUND PROCESSING WITH HANGFIRE
Rating: 4.7 out of 5(731 ratings)
9,347 students

ASP.NET CORE: BACKGROUND PROCESSING WITH HANGFIRE

Learn about an easy way to perform background processing in .NET Core applications.
Created byErvis Trupja
Last updated 6/2026
English

What you'll learn

  • What are background processing jobs/tasks/services?
  • Why use Hangfire to process background jobs in .NET?
  • Setting up Hangfire in an AspNet Core Web API application
  • Fire-and-Forget Jobs
  • Delayed Jobs
  • Recurring Jobs
  • Continuous Jobs

Course content

3 sections8 lectures32m total length
  • Welcome to Hangfire3:11

    Welcome to "Asp.Net Core: Background Processing using Hangfire" course, where you will start by learning what a background process is and why to use Hangfire.

  • Background Job Types & Why Use Hangfire?2:08

    In this part, we will discuss the different background jobs and why to use hangfire for background processing...
    Source code: https://github.com/etrupja/hangfire-webapi

  • Setting up Development Environment6:39

    In this part, we will finally set up the development environment.
    You will:

    • Install hangfire package/library

    • Update Startup.cs file

    • Update default controller

    • Update launchSettings.json file

Requirements

  • Basic understanding of AspNet Core Web API is preferred, but not required
  • Basic understanding of C# is preferred, but not required
  • Basic understanding of SQL Server is preferred, but not required
  • Basic understanding of VS2019 and Postman is preferred, but not required

Description

In the world of programming, one frequently encountered challenge is managing background jobs effectively. These tasks, which operate behind the scenes without requiring direct user interaction, are essential for many applications but can be tricky to implement correctly. Successfully running background jobs without introducing errors or complicating your codebase might seem daunting at first. However, with the right tools and understanding, it’s far more approachable than you might expect.

This course introduces you to the concept of background processes, sometimes referred to as background jobs or tasks. You will explore their significance in modern software development. Specifically, you’ll dive into Hangfire, a powerful, open-source library designed to simplify background processing in .NET and .NET Core applications. Hangfire stands out for its simplicity, persistence, transparency, reliability, and efficiency, making it an excellent choice for developers working with ASP.NET Core.

Throughout the course, you’ll gain hands-on experience and a deep understanding of key concepts. You’ll start by learning what background processes are and why they matter. From there, you’ll explore why Hangfire is a preferred solution for background processing in ASP.NET Core applications. The course will guide you through practical steps, including setting up Hangfire in an ASP.NET Core Web API project. You’ll master various types of background jobs, such as fire-and-forget jobs for one-time execution, delayed jobs for scheduled tasks, recurring jobs for repeated operations, and continuations for chaining dependent tasks.
By the end, you’ll be equipped to implement robust background processing in your own projects with confidence and precision.

Who this course is for:

  • Any developer who is curious about background processing jobs in .NET
  • Any developer who is curious about Hangfire and how to use it in .NET Applications