In Global.asax
protected void Application_BeginRequest(object sender, EventArgs e)
{
Response.AppendHeader("Access-Control-Allow-Origin", "*");
}
http://stackoverflow.com/questions/6516591/how-to-implement-access-control-allow-origin-header-in-asp-net
No comments:
Post a Comment