monsur / enable-cors.org

Advocacy for CORS
http://enable-cors.org/
212 stars 99 forks source link

wcf with basic auth #51

Open jlines opened 11 years ago

jlines commented 11 years ago

I went through some challenges to get this working. There is another way to implement WCF cors using a custom ServiceAuthenticationManager that might be of use to your users. Let me know if you want working source.

monsur commented 11 years ago

Thanks for the feedback. Would you be willing to pull together a patch? The relevant page is here: https://github.com/mhausenblas/enable-cors.org/blob/gh-pages/server_wcf.html

rebolloso commented 10 years ago

http://enable-cors.org/server_wcf.html, This code would not work until I placed it in a separate project so it would create a dll. Then it started working. I would like to know how to do it with ServiceAuthenticationManager as the previous user suggested.

monsur commented 10 years ago

Hi rebolloso. Thanks for the feedback. I'm not familiar with WCF, could you provide a more detailed description on how to do this? Or better yet, could you submit a patch? Thanks!