问题
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:
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
回答1:
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
来源:https://stackoverflow.com/questions/53682691/what-is-the-difference-between-the-nuget-packages-hangfire-aspnetcore-and-hangfi