Back
You can use the below code to make a request for creating a queue:
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(string.Format(CultureInfo.InvariantCulture,"https://{0}.queue.core.windows.net/{1}",StorageAccount, queuename));req.Method = "PUT";req.Headers.Add("Authorization", AuthorizationHeader);req.Headers.Add("x-ms-date", mxdate);req.Headers.Add("x-ms-version", storageServiceVersion);req.ContentLength = 0;
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(string.Format(CultureInfo.InvariantCulture,
"https://{0}.queue.core.windows.net/{1}",
StorageAccount, queuename));
req.Method = "PUT";
req.Headers.Add("Authorization", AuthorizationHeader);
req.Headers.Add("x-ms-date", mxdate);
req.Headers.Add("x-ms-version", storageServiceVersion);
req.ContentLength = 0;
I hope this will help.
Want to become an Azure Expert? Join Azure Developer Training now!!
31k questions
32.8k answers
501 comments
693 users