Windows Azure Storage Emulator - CORS Support

I have a storage emulator on my local machine - 127.0.0.1:10000. I have a site running on localhost. However, when I try to execute XMLHttpRequest from the site to the emulator, I get the following error:

Origin http://localhost is not allowed by Access-Control-Allow-Origin. 

It works fine if I run Chrome with the --disable-web-security option.

Now I read that Azure supports CORS and there is an option to enable this. However, I can’t understand for life where the option is in the storage emulator.

Any help would be appreciated!

+4
source share
2 answers

CORS is still not supported on Windows Azure. It will happen soon. This was demonstrated in a recently concluded // Build / conference. You can watch this video here: http://channel9.msdn.com/Events/Build/2013/3-541 .

+2
source

Windows Azure Blobs, Tables and Queues now support CORS so that users can access or manage resources from a browser serving a web page in a different domain than access to the resource.

http://msdn.microsoft.com/en-us/library/windowsazure/dn535601.aspx for more information.

+3
source

Source: https://habr.com/ru/post/1489814/


All Articles