Click here to Skip to main content
16,007,277 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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();



lastly i am getting this output like this "PK\0\0\b\0���F����\0\0^\a\0\0\0\b[Content_Types].xml �(�\0\0\0\0\0\0"
Posted
Comments
Amlan Sengupta 1-Jul-15 4:51am    
please, specify the problem that you are facing...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900