Hello everyone,
Thanks to support. I have created a Web API 2 Project and added a controller inside and added few methods with HTTPGet attributes. If i try to access that method from postman client it's working properly. But, If i tries to access them from other apps, I'm getting cross domain origin issue. Please help me to fix this issue.
What I have tried:
I have added config.EnableCors(); in webapiconfig file. Now, I can access api controllers from out side. But, Controllers i have added [EnableCors("*", "*", "*")] this one top of controller. But, It's not working.