Need a solution for long running/scheduled background .NET jobs? Hangfire is a framework that can be used to reliably create, process, and manage asynchronous .NET background jobs. In this course, learn how to use Hangfire in your .NET applications.
Reliable asynchronous background jobs are a common requirement that .NET developers inevitably need to implement at some point. In this course, Simplified .NET Background Jobs with Hangfire, you will learn all about using Hangfire as a framework to help you fulfill this requirement. First, you'll learn all about creating, processing, and managing these long running tasks. Next, you'll learn about how Hangfire lets you run these long tasks. Finally, you'll learn how to manage these jobs, by using Hangfire's excellent dashboard. By the end of this course, you'll how to install Hangfire and the Hangfire dashboard, and how to create the different types of background jobs that Hangfire supports.
Rag Dhiman is an experienced programmer who enjoys finding clean and expandable solutions to technological problems. He is MCPD and MCTS certified and a keen independent iOS developer with many Apps on the App Store.
Course Overview Hi everyone, my name is Rag Dhiman, and welcome to my course titled Simplified. NET Background Jobs with Hangfire. I've been developing and designing software for well over 15 years, and I'm an author at Pluralsight. In this course we are going to learn how to create, process, and manage those long-running code tasks we frequently have to do in our. NET applications, and we are going to do this by using an open source framework called Hangfire. Long-running code tasks are tasks that you really do not want to perform within your live application, because they negatively affect performance, and therefore they also negatively affect the user's experience. In this course we are going to learn how to create, process, and manage these long-running tasks as synchronous Hangfire background jobs. We will look at how Hangfire lets us run these long-running tasks as Fire and Forget background jobs, scheduled background jobs, all frequently recurring background jobs that recur based on the schedule. You'll also learn how to manage these jobs by using Hangfire's excellent dashboard. By the end of this course, you'll know how to install Hangfire and the Hangfire dashboard and how to create the different types of background jobs that Hangfire supports. Before beginning this course, you should be familiar with. NET application development using Visual Studio and C#. I hope you'll join me on this journey to learn Hangfire at Pluralsight, with the course titled Simplified. NET Background Jobs with Hangfire.
Getting to Know Background Job Types Hi, this is Rag Dhiman from Pluralsight, and welcome to the module titled Getting to Know Background Job Types. And as the title suggests, in this module we'll look at the different types of background jobs that Hangfire provides, as well as the additional features that Hangfire provides in making the implementation of these background jobs easier. So in this module, we'll start off by looking at the Fire and Forget background job type, then we'll look at the delayed background job type, and then the recurring type of background job, and then we'll also look at how we can take our background jobs and then batch them into one background job which runs as a batch. Then we'll also start looking at how we can actually chain batches together, so that a child batch only runs once the parent batch is successful. We'll then talk more about how we can create even more complex workflows where a background job only runs if a certain type of background job has already run. We will then conclude the module by looking at the best practices for passing in parameters and dependencies into the code, which runs in the background as our background job.
Hangfire Dashboard and Job Storage Hi, this is Rag Dhiman from Pluralsight, and welcome to the module titled Hangfire Dashboard and Job Storage, and as the name suggests, we'll be looking at the Hangfire dashboard in more detail in terms of configuration and features, and we'll also be looking at job storage options for Hangfire. We'll start off the module by looking at the Hangfire dashboard in terms of features, configuration, and security. We will then move onto looking at how Hangfire can handle exceptions, and how Hangfire can provide logging. We will then conclude the module by looking at job storage configuration options, as well as how we can configure Hangfire to use Redis as an alternative way of storing jobs in a storage database.
Hangfire Best Practices, Scaling out, and Performance Hi, this is Rag Dhiman from Pluralsight, and welcome to the module titled Hangfire Best Practices, Scaling Out and Performance. And as the title suggests, in this module we will look best practices for working with Hangfire in terms of coding and in terms of deploying Hangfire. We will also look at how we can scale out Hangfire, how we can take Hangfire from a simple implementation where it lives within one application to an implementation where Hangfire spans multiple machines in order to scale out, and in order to improve performance. So, as well as looking at scaling out as an option to improve performance, we'll also look at configuration that's available to improve Hangfire's performance.