Monday, August 19, 2013

Make AJAX requests between an ASP.NET Azure hosted Web Site and Web Role?

Make AJAX requests between an ASP.NET Azure hosted Web Site and Web Role?

I have a C# ASP.NET/MVC Web Role that is hosted on Azure. I want it to
service one or more Azure hosted web sites as an API provider available
via AJAX calls. Normally making AJAX requests from two different web
locations violates the browser cross site security restrictions. But I'm
wondering if there is a procedure or a set of steps I can take to
configure my Webs Sites and Web Role that would avoid violating the
browser security restrictions? The Web Sites and Web Role are all under my
control and all running under the same Azure account, so perhaps there are
things I can do to mitigate this restriction?

No comments:

Post a Comment