Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package Deprecated in error: Microsoft.AspNetCore.DataProtection.SystemWeb #8900

Open
RWebster-Noble opened this issue Nov 13, 2023 · 4 comments
Labels
package-deprecation Feedback about a deprecated NuGet package.

Comments

@RWebster-Noble
Copy link

RWebster-Noble commented Nov 13, 2023

Package Id

Microsoft.AspNetCore.DataProtection.SystemWeb

Package Version(s)

2.2.0

Additional details

We are using the Microsoft.AspNetCore.DataProtection.SystemWeb package in our .NET Framework projects.

When reviewing our installed packages we can see that the latest version of this package is deprecated but there appears to be no later version or any clear alternatives or upgrade path available. Therefore I believe that package is deprecated is in error and should receive future updates.

The package deprecation announcement states "AspNetCore 2.2 is a unique category, particularly around .NET Framework usage. We will work out how best to address these packages getting caught up and staying current at each release." but this package appears to have fallen through the cracks as the DataProtection Api is definitely not a deprecated product. In-fact there is current ASP.NET Core 8.0 documentation instructing on how use this package in a ASP.NET Framework 4.5.1 + project: Replace the ASP.NET machineKey in ASP.NET Core.

@RWebster-Noble RWebster-Noble added the package-deprecation Feedback about a deprecated NuGet package. label Nov 13, 2023
@leecow
Copy link
Member

leecow commented Nov 15, 2023

@mkArtakMSFT @wtgodbe

@wtgodbe
Copy link
Member

wtgodbe commented Nov 15, 2023

The latest in-support version of that package is 2.1.1: https://www.nuget.org/packages/Microsoft.AspNetCore.DataProtection.SystemWeb/2.1.1. We recommend using 2.1 rather than 2.2 as it is still in support. As for the SystemWeb library, @adityamandaleeka is that still around in .NET 8.0?

@RWebster-Noble
Copy link
Author

@adityamandaleeka @mkArtakMSFT @wtgodbe

Any updates on this?
Is it still recommended to use 2.1?

@wtgodbe
Copy link
Member

wtgodbe commented Jan 31, 2024

Yes, we recommend using 2.1. We're working on improving the dev experience in VS so that 2.2 packages don't get recommended as updates anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package-deprecation Feedback about a deprecated NuGet package.
Projects
None yet
Development

No branches or pull requests

3 participants