Skip to content

Instantly share code, notes, and snippets.

@mahizsas
Last active August 29, 2015 14:13
Show Gist options
  • Save mahizsas/72a47358ae32b0dad9a1 to your computer and use it in GitHub Desktop.
Save mahizsas/72a47358ae32b0dad9a1 to your computer and use it in GitHub Desktop.
Enable CORS in ASP.NET ( Non Webapi )
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*"/>
</customHeaders>
</httpProtocol>
</system.webServer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment