Dear All,
I have created small project using Angular 6 and ASP .Net MVC 5. I have uploaded my those project with help of member of this forum. Thanks to them for helping me.
I got stuck again I was facing problem related to refresh, to overcome on that problem I get come to know that I have to use URL rewrite. So I just follows those steps, now I can refresh the page but I am getting error and It is related to CORS.
Before this I was using that code as localhost but now I want to connect with domain.
I am getting following error :-
- Access to XMLHttpRequest at 'http://www.angulardemo.in/eapp/api/Login' from origin 'http://angulardemo.in' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Please let me any easy solution. Any suggestion will be acceptable.
Thanking You in advance.
Gajendra JangidPosted Jun 6, 2019, 1:03 AM
Sanwar RanwaPosted Jun 5, 2019, 11:39 PM
Jignesh KumarPosted Jun 5, 2019, 11:31 PM
Mandar ShindePosted Jun 5, 2019, 11:12 PM
Vipul JainPosted Jun 5, 2019, 1:55 PM