0

I created two web applications. One is a web site that mainly contains of js files. Second site is a REST based service site. Web site is doing CRUD operations against Rest services.

I already hosted Rest services in Azure.

I want to host web site in Azure. What is the best way to deal with the cross domain issues ?

Gregory Nozik
  • 3,004
  • 3
  • 30
  • 46
  • Will the call to REST based service site be made from JS in the web application or will it be done through some code behind? – Gaurav Mantri Jun 03 '14 at 06:51
  • It will call to Rest from js files through jquery ajax – Gregory Nozik Jun 03 '14 at 06:54
  • Do take a look at this thread: http://stackoverflow.com/questions/18981339/http-options-request-on-azure-websites-fails-due-to-cors. Essentially you will have to set up CORS settings in web.config file. – Gaurav Mantri Jun 03 '14 at 06:57

0 Answers0