I have a code-base that makes extensive use of the WindowsAzure.Storage nuget package for access to Queues, Tables and Blobs. The package is now flagged as deprecated with the indication that the functionality has been broken up into individual components under the Azure.Storage package-set.
This StackOverflow question and answer provides some description of the replacement packages but it's unclear how much of the restructuring is complete and what combination of legacy and new packages are required to migrate at this time.
I've been unable to find any up-to-date migration guide and example code/documentation for the new packages tends to focus on basic operations.
Specifically, I'm having difficulty accessing the new services from a top-level storage account.
The current code uses a pattern like this...
var accountName = "...";
var accountKey ="..............";
var credentials = new StorageCredentials(accountName, accountKey);
var account = new CloudStorageAccount(credentials,true);
//for table access...
var client = account.CreateCloudTableClient();
var table = client.GetTableReference(tableName);
//for queue access
var client = account.CreateCloudQueueClient();
var queue = client.GetQueueReference(queueName);
//for blob access
var client = account.CreateCloudBlobClient();
var container = client.GetContainerReference(containerName);
var blob = container.GetBlockBlobReference(path);
What would be the equivalent using the new packages and what combination of packages would I need?