Answered by:
Azure Table storage & jQuery

Question
-
Hi - Could you please point me to some examples on how to read/update azure table storage contents via a simple jQuery AJAX? I have been referring to this support forum post but looks like it's quite old. I have also been looking at http://msdn.microsoft.com/en-us/library/windowsazure/ee395415.aspx. Wondering if there is a working example of it?
- Amrish
Thursday, January 10, 2013 11:32 PM
Answers
-
Based on a presentation at \\BUILD, CORS support is coming for Windows Azure Storage. As far as azureQuery is concerned, it's only for blob storage. There it would work if your HTML page is hosted in Blob Storage only. A few days ago, we were having similar conversation on Twitter which you can read here: https://twitter.com/gmantri/status/288245050368983040.Do take a look at this blog post: http://coderead.wordpress.com/2012/11/21/uploading-files-directly-to-blob-storage-from-the-browser/
- Marked as answer by Qin Dian Tang - MSFT Thursday, January 17, 2013 1:51 AM
Friday, January 11, 2013 3:02 PM
All replies
-
I don't think it's possible because Windows Azure Storage still does not support CORS. You would need to have an intermediate layer (read - a web application) which would work with storage. So your JavaScript code would make a request to this application and that application in turn make a request to Windows Azure Storage.
Hope this helps.
Friday, January 11, 2013 5:39 AM -
Thanks Gaurav - my plans on creating a thin App to edit Azure tables with pure JS has to be deferred then :( Will do the data access in code behind!
Wondering if azure supports cross domain communication for Blob storage? Because azureQuery seems to do that
- Amrish
Friday, January 11, 2013 2:54 PM -
Based on a presentation at \\BUILD, CORS support is coming for Windows Azure Storage. As far as azureQuery is concerned, it's only for blob storage. There it would work if your HTML page is hosted in Blob Storage only. A few days ago, we were having similar conversation on Twitter which you can read here: https://twitter.com/gmantri/status/288245050368983040.Do take a look at this blog post: http://coderead.wordpress.com/2012/11/21/uploading-files-directly-to-blob-storage-from-the-browser/
- Marked as answer by Qin Dian Tang - MSFT Thursday, January 17, 2013 1:51 AM
Friday, January 11, 2013 3:02 PM -
Azure storage support CORS now
Windows Azure Storage: Introducing CORS
www.bluelabs.ca
Wednesday, May 14, 2014 6:23 PM