What is CORS?
- You need to install Microsoft.AspNet.WebApi.Cors
PM> Install-Package Microsoft.AspNet.WebApi.Cors
2. In your WebApiConfig.cs in Register method
3. In you Web.config
Make sure you have the following
4. And the last step is to use Cors attributes in your controller like this
If you still have issues, please comment this article.