Skip to content

DataProtection.AzureStorage 3.0 will be updated to use new Microsoft.Azure.Storage APIs #14897

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

Closed
pranavkm opened this issue Oct 2, 2019 · 0 comments · Fixed by #15044
Closed
Assignees
Labels
breaking-change Indicates a .NET Core breaking change

Comments

@pranavkm
Copy link
Contributor

pranavkm commented Oct 2, 2019

DataProtection.AzureStorage 3.0 will be updated to use new Microsoft.Azure.Storage APIs

Microsoft.AspNetCore.DataProtection.AzureStorage depends on the Azure Storage libraries. Recently, these libraries have renamed their assemblies, packages, and namespaces. Starting in ASP.NET Core 3.0, we have moved our dependency to use the new Microsoft.Azure.Storage.* APIs and packages.

If you still need to use the older Azure Storage APIs with ASP.NET Core 3.0, add a direct dependency to the WindowsAzure.Storage package. This can be installed side-by-side with the new Microsoft.Azure.Storage APIs.

For questions about the Azure Storage APIs, use https://github.com/Azure/azure-storage-net.
Use dotnet/aspnetcore#8472 for discussion on this issue.

Version introduced

3.0

Old behavior

The package referenced the WindowsAzure.Storage NuGet package

New behavior

The package references the Microsoft.Azure.Storage.Blob NuGet package

Reason for change

This allows Microsoft.AspNetCore.DataProtection.AzureStorage to migrate to the recommended Azure Storage packages.

Recommended action

Changes to your code may be necessary to use the new API. In many cases, the upgrade may be as simple as changing the using statements to use the new namespaces.

- using Microsoft.WindowsAzure.Storage;
- using Microsoft.WindowsAzure.Storage.Blob;
+ using Microsoft.Azure.Storage;
+ using Microsoft.Azure.Storage.Blob;

Category

ASP.NET Core

Affected APIs

"Not detectable via API analysis"


Issue metadata

  • Issue type: breaking-change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Indicates a .NET Core breaking change
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants