By Mike Wasson This content is for a previous version of .NET. New development should use ASP.NET Core. For more information on using Web API and Cross-Origin Requests (CORS) in ASP.NET Core, see: Tutorial: Create a web API with ASP.NET Core Enable Cross-Origin Requests (CORS) in ASP.NET Core Browser security prevents a web page from making AJAX requests to another domain. This restriction is call
![Enabling Cross-Origin Requests in ASP.NET Web API 2](https://cdn-ak-scissors.b.st-hatena.com/image/square/d6e4cb632c7025e9f5e05fd314fbf6dcd6144e8d/height=288;version=1;width=512/https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fmedia%2Fopen-graph-image.png)