Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between the nuget packages hangfire.aspnetcore and hangfire and hangfire.core?

What is the difference between the nuget packages HangFire.AspNetCore and HangFire and HangFire.core?

It seems I am able to use hangfire with a ASP .NET MVC Core project with only the HangFire 1.6.21 package alone. See below packages used in my project:

enter image description here

What is then the package HangFire.AspNetCore for?

I am working with Visual Studio Code on Ubuntu, and I added the packages using :

dotnet add package Hangfire

dotnet add package Hangfire.AspNetCore
like image 627
Yahia Avatar asked Dec 08 '18 12:12

Yahia


1 Answers

It's the usual naming convention for NuGet packages:

  • HangFire is the package name and the main package which includes all dependencies needed. This main package targets .NET framework in this case.
  • HangFire.Core is package that includes the core components, to which all variants of the package will probably be dependent on.
  • HangFire.AspNetCore is extension to support .NET Core
like image 168
nemanja228 Avatar answered Oct 10 '22 22:10

nemanja228