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

Consider publishing Microsoft.AspNetCore.DataProtection.SystemWeb 8.0 #56993

Closed
RWebster-Noble opened this issue Nov 13, 2023 · 7 comments
Closed
Labels
area-dataprotection Includes: DataProtection

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.

@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.

@amcasey amcasey transferred this issue from dotnet/core Jul 25, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically label Jul 25, 2024
@amcasey amcasey added area-dataprotection Includes: DataProtection and removed needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically labels Jul 25, 2024
@amcasey amcasey added this to the .NET 10 Planning milestone Jul 25, 2024
@amcasey
Copy link
Member

amcasey commented Jul 25, 2024

The code is no longer in main. We'd probably have to resuscitate it from 2.1 or 2.2 (likely the same?).

@amcasey amcasey changed the title Package Deprecated in error: Microsoft.AspNetCore.DataProtection.SystemWeb Consider publishing Microsoft.AspNetCore.DataProtection.SystemWeb 8.0 Jul 25, 2024
@amcasey
Copy link
Member

amcasey commented Jul 26, 2024

This seems like a logical home for it: https://github.com/dotnet/maintenance-packages

@RWebster-Noble
Copy link
Author

With ASP.NET Core 2.1 becomes ASP.NET Core 2.3 this package has been re-released as Microsoft.AspNetCore.DataProtection.SystemWeb v2.3.0.

This resloves the issue of the latest version showing as deprecated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dataprotection Includes: DataProtection
Projects
None yet
Development

No branches or pull requests

4 participants