Is it possible to implement "Access-Control-Allow-Origin" header in asp.net
From enable-cors.org:
CORS on ASP.NET If you don't have access to configure IIS, you can still add the header through ASP.NET by adding the following line to your source pages: Response.AppendHeader("Access-Control-Allow-Origin", "*");
CORS on ASP.NET
If you don't have access to configure IIS, you can still add the header through ASP.NET by adding the following line to your source pages:
Response.AppendHeader("Access-Control-Allow-Origin", "*");
See also: Configuring IIS6 / IIS7
2.1m questions
2.1m answers
60 comments
57.0k users