在VMWarePCF应用程序服务中,哪个是Redis的正确钢头连接器

问题描述

好像有来自Steeltoe https://www.nuget.org/packages/Steeltoe.Connector.ConnectorCore/的三个连接器nuget包 https://www.nuget.org/packages/Steeltoe.Connector.CloudFoundry/ https://www.nuget.org/packages/Steeltoe.CloudFoundry.ConnectorCore/。我在.net core 3.1中有一个ASP.NET Core应用程序。我现在应该选择哪一个?我还可以获取每个软件包的详细文档。看起来像Steeltoe.Connector.ConnectorCore需要.netcore3.1,而其他两个仅需要.nestandard2.0。知道为什么会这样吗?理想情况下,如果我没有记错的话,所有可重用的库都面向.netstandard2.X

解决方法

对于Steeltoe 3.0,使用Steeltoe.Connector.ConnectorCore Steeltoe.Connector.CloudFoundry-https://steeltoe.io/docs/3/connectors/usage#cloud-foundry

对于Steeltoe 2.x,请使用Steeltoe.CloudFoundry.ConnectorCore

就目标定位而言,Steeltoe 3.0专注于.NET Core 3.1+,因此我们无意为该分支上较旧的版本建立兼容性。在某些情况下,我们定位到netcoreapp3.1并可能定位到netstandard2.0 ...我们已经回拨了几个软件包,尽管看上去ConnectorConnect似乎还没有调整,必须看看它是否可以。

如果您使用.NET Core 3.1之前的版本,则应使用Steeltoe 2.x,该版本仍将保留。