I need to send messages through Azure Queue, and I need to test it using the Windows Azure emulator, which says that it works correctly. These are the steps I went through:
1- Starting the Windows Azure Storage Emulator (I tried versions 2.0.0 and 3.2.0) Make sure the emulator is running:
When using Windows Azure Storage Emulator 2.0.0:
Now the "obsolete" user interface showed the correct operation of all three storage emulators. (I cannot attach a snapshot showing it because I already updated the SDK tools for Windows Azure Storage for VisualStudio 2013.
When using the Windows Azure Storage Emulator 3.2.0 emulator:
[Here was a snapshot showing that it is working correctly, but I have no reputation for adding imga: s]
2- Code:
string azureStorageConnectionString = "UseDevelopmentStorage=true";
string queueName = "queuetest";
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(storageConnectionString);
CloudQueueClient queueClient = storageAccount.CreateCloudQueueClient();
_queue = queueClient.GetQueueReference(queueName);
_queue.CreateIfNotExists();
3rd β You have two different problems with each version of WAS Emulator.
-Problem A: In the line _queue.CreateIfNotExists (); got an exception not found uri (404) because it could not find the queue, with uri: 127.0.0.1:10001/devstoreaccount1/queuetest
-task B: When I upgraded the WAS Emulator, the exceptions went away (So the upgrade was <Strong> Solutions to Problem A), but Azure Storage Explorer would not access the Storage Developer Account and gave the following message:
Windows Azure Developer Storage is not runnign.
The process DSService.exe is not detected
So, overall, I fixed problem A, but now I canβt access my DevStorage account using Azure Storage Explorer.