UtilitiesServices objUtilitiesServices = new UtilitiesServices(); // get storage Microsoft.WindowsAzure.StorageCredentialsAccountAndKey creds = new Microsoft.WindowsAzure.StorageCredentialsAccountAndKey(objUtilitiesServices.ListSettings().AzureAccount, objUtilitiesServices.ListSettings().AzureKey); Microsoft.WindowsAzure.StorageClient.CloudBlobClient blobStorage = new Microsoft.WindowsAzure.StorageClient.CloudBlobClient(objUtilitiesServices.ListSettings().AzureSiteURL, creds); // get blob container Microsoft.WindowsAzure.StorageClient.CloudBlobContainer blobContainer = blobStorage.GetContainerReference(containerName); // get blob data Microsoft.WindowsAzure.StorageClient.CloudBlob cloudBlob = blobContainer.GetPageBlobReference(fileName); string text = cloudBlob.DownloadText();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)