I am calling Rest web api from angular 10.
Rest API links is up and running fine but when i call same from angular then it gives below error
Access to XMLHttpRequest at 'http://localhost:51664/api/values/forall' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I already have CORS line added in wepapiconfig.cs file.
PFA for details (CORS_Error.png and WebAPIConfig.png)