Click here to Skip to main content
15,881,380 members
Please Sign up or sign in to vote.
2.57/5 (4 votes)
See more:
I try to upload image file to Local Blob Storage. Everything is running successfully on Azure Blob and Development Blob (On Azure Emulator) but it takes too much time in each request like creating blob for upload image & delete on Azure Emulator Development Blob.

Code to create blob is
C#
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(RoleEnvironment.GetConfigurationSettingValue("ImageStorageAccountConn"));
            CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
            CloudBlobContainer blobContainer = blobClient.GetContainerReference("my-blob");
             
            if (blobContainer.CreateIfNotExists())
            {
                blobContainer.SetPermissions(new BlobContainerPermissions { PublicAccess = BlobContainerPublicAccessType.Blob });
            }
            return blobContainer;


What's wrong ?
Posted
Updated 5-May-14 3:22am
v4
Comments
Richard MacCutchan 30-Apr-14 12:54pm    
What'swrong?
Anyone's guess; all you have told us is that it takes too much time, which is not really much to go on.
Vi(ky 1-May-14 4:10am    
In each operation it takes 3 - 4 min
Vi(ky 1-May-14 7:53am    
my application works fine with Azure Storage Blob but problem occur when i run my app in Development Blob Storage

1 solution

Yep,This is quite normal behavior when you run your app on Azure emulator on your local machine.B'cos it is a emulator.Not a real one.But if your machine has a 8GB or more RAM ,then things will work very fast.I hope this information may help to you. :)
 
Share this answer
 
v2

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