nuget程序包hangfire.aspnetcore和hangfire和hangfire.core有什么区别? [英] What is the difference between the nuget packages hangfire.aspnetcore and hangfire and hangfire.core?
本文介绍了nuget程序包hangfire.aspnetcore和hangfire和hangfire.core有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
nuget
软件包 HangFire.AspNetCore 和 HangFire 和似乎我可以将hangfire与仅使用HangFire
1.6.21程序包的ASP .NET MVC 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:
软件包HangFire.AspNetCore
的用途是什么?
我正在Ubuntu上使用Visual Studio Code,并且我使用了以下软件包:
I am working with Visual Studio Code on Ubuntu, and I added the packages using :
dotnet add package Hangfire
dotnet add package Hangfire.AspNetCore
推荐答案
这是NuGet软件包的常用命名约定:
It's the usual naming convention for NuGet packages:
- HangFire 是程序包名称和主程序包,其中包括所有需要的依赖项.在这种情况下,此主程序包针对.NET框架.
- HangFire.Core 是包含核心组件的程序包,该程序包的所有变体都可能依赖于这些组件.
- HangFire.AspNetCore 是支持.NET Core的扩展
- 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
这篇关于nuget程序包hangfire.aspnetcore和hangfire和hangfire.core有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文