c# - nuget 包 hangfire.aspnetcore 和 hangfire 和 hangfire.core 之间有什么区别?

标签 c# nuget asp.net-core-mvc hangfire

nuget 包之间有什么区别 HangFire.AspNetCoreHangFireHangFire.core

看来我可以将 hangfire 与 ASP .NET MVC Core 项目一起使用,仅使用 HangFire 1.6.21 包。请参阅我的项目中使用的以下包:

enter image description here

HangFire.AspNetCore 包的作用是什么?

我在 Ubuntu 上使用 Visual Studio Code,我使用以下方法添加了包:

dotnet add package Hangfire

dotnet add package Hangfire.AspNetCore

最佳答案

这是 NuGet 包的常用命名约定:

  • HangFire 是包名称和主包,其中包括所有需要的依赖项。在这种情况下,这个主包以 .NET 框架为目标。
  • HangFire.Core 是包含核心组件的包,包的所有变体都可能依赖于这些组件。
  • HangFire.AspNetCore 是支持 .NET Core 的扩展

关于c# - nuget 包 hangfire.aspnetcore 和 hangfire 和 hangfire.core 之间有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53682691/

相关文章:

c# - 用 '<b>' 将字符串中的单词包裹起来使其成为粗体而不改变单词的原始大小写

package - nuget 检索包元数据

.net - 包管理器控制台问题

tfs - NuGet 包还原时 Team Foundation Service 构建失败

c# - 将属性值与反射进行比较

c# - 从代码访问 Expression.DebugView

c# - .net core 和 ef core sql server error provider : SQL Network Interfaces, error: 8 - Protocol not supported

asp.net-core-mvc - 使 MVC 6 项目保持最新

c# - 在下拉列表中仅显示一个特定值

c# - 不使用默认程序打开文件