ASP.NET CORS Configuration
Error Message
The server returns: "The 'Access-Control-Allow-Origin' header is present on the requested reosurce"
Solution
Web.config Settings
<appSettings>
<add key="cors_allowedOrigins"
value="http://localhost:8002,http://192.168.0.1:8002" />
</appSettings>
<system.webServer>
...
Posted on Wed, 12 Aug 2026 16:40:54 +0000 by MatrixGL