I am trying to add some [WebMethod] annotated endpoint functions to a Webforms style web app (.aspx and .asmx).
[WebMethod]
I\'d like to annotate those endpoints w
I think your code looks good, but IIS does not send the header entity alone with response expectedly. Please check whether IIS is configured properly.
If CORS doesn't work for your particularity problem, maybe jsonp is another possible way.