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
1.4m articles
1.4m replys
5 comments
57.0k users