public CloudBlobContainer GetContainerReference(string name) { Uri containerUri = new Uri(String.Format("{0}{1}/", BlobEndPoint, name)); string testName = "testaccount"; Guid guid = Guid.NewGuid(); string testKey = Convert.ToBase64String(guid.ToByteArray()); StorageCredentials credentials = new StorageCredentials(testName, testKey); return new CloudBlobContainer(containerUri, credentials); }