Enabling Cross-Origin Requests In ASP.NET Core

added by DotNetKicks
2/20/2017 2:10:51 PM

3 Kicks, 265 Views

Browser security does not allow web pages to make AJAX requests to another domain. This prevention is called "same-origin policy". This prevents another site from reading sensitive data from another site. Cross-Origin Resource Sharing (CORS) is a W3C standard. Using CORS, a Server can allow some cross-origin (domain) requests and reject others.