I am continuing to see this problem:
I’m trying to figure out why I can’t seem to create a CloudQueue while debugging and I hope you can help.
I’m working on a personal project and want to use Azure but when I go to debug with the storage emulator I keep getting an exception, “400 Bad Request”. All the searching I’ve done has suggested updating to the latest Emulator, which I’ve already done. I’m
using VS 2012 on Win8.
I’m using:
BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;
TableEndpoint=http://127.0.0.1:10002/devstoreaccount1;AccountName=devstoreaccount1;
AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==
As my connection string because I did find an article saying that only one AccountName and key were supported by the latest version. I’ve also tried the UseDevelopmentStorage=true string.
The code is below
// Create the queue client
CloudQueueClient queueClient = AzureStorageAccount.CreateCloudQueueClient();
// Retrieve a reference to a queue
CloudQueue queue = queueClient.GetQueueReference("TradingPostSpidyWorkQueue");
// Create the queue if it doesn't already exist
queue.CreateIfNotExists();
return queue;