Description
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