Configuring Hangfire’s BackGround Method for .NET Core Applications

Bernardo Leite .NET, .NET Core, Articles, C#, Tutorial Leave a Comment

In this article, we will go over how to install the Hangfire NuGet package within the NuGet Package Manager in Visual Studio. Then, we’ll walk through how to configure it within the .NET Core framework using Service Fabric. Lastly, we’ll learn how to use the BackgroundJob.Enqueue method in order to schedule a background task to be performed and at the same time not disturb the flow of your code.