json not working in cross domain
Jak
908
Points
132
Posts
|
Answers
Rahul M...
4916
Points
27
Posts
|
I got following url related to this https://www.asp.net/web-api/overview/security/enabling-cross-origin-requests-in-web-api
Posted On:
15-Oct-2014 03:33
|
Nice One
280
Points
0
Posts
|
Hi, Create a new attribute
Tag your action:
Posted On:
20-Oct-2014 00:37
|
Nice One
280
Points
0
Posts
|
Hi, You can do this from web.config as (in <system.webServer>...</system.webServer>): <httpProtocol><customHeaders><!--Enable Cross Domain AJAX calls --><removename="Access-Control-Allow-Origin" /><addname="Access-Control-Allow-Origin"value="*" /></customHeaders></httpProtocol>
Posted On:
26-Nov-2014 07:55
|
Blog
Active User (0)
No Active User!