Created
May 31, 2019 17:48
-
-
Save marcialsoto/8690e55cfd6666d837f2f56e68aca8d8 to your computer and use it in GitHub Desktop.
Enable CORS in .NET
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Install-Package Microsoft.AspNet.WebApi.Cors | |
| nableCorsAttribute cors = new EnableCorsAttribute("*", "*", "*"); | |
| config.EnableCors(cors); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment