Hi All,
I am developing one application using .NET and Vue.js. Each time browser send a request to any of my API, Option call is first initiated and then data API. This adds performance overhead in my application. I am unable to solve this. I appreciate your help.
Thanks a lot !

Sai Kumar KoonaRank #334 · 7.5K reputationPosted Oct 5, 2018, 4:15 AM EDT
Mrugesh Panchal5 reputationPosted Oct 5, 2018, 4:22 AM EDT
Sanwar RanwaRank #23 · 44.7K reputationPosted Oct 5, 2018, 8:42 AM EDT
Madan ShekarRank #428 · 5.9K reputationPosted Oct 17, 2018, 2:14 AM EDT
[EnableCors(origins: "*", headers: "*", methods: "*")]
example :-
[EnableCors(origins: "*", headers: "*", methods: "*")]
Install-Package Microsoft.AspNet.WebApi.Cors -Version 5.2.6