Thanks for sharing. I like the configuration in the web.config but I couldn't make it works when I sent content-type application/json or when I sent authorization header. For POST plain text works well. In the other hand using attributes for CORS works really well with application/json and authorization header and it is not necessary configure preflight.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for sharing. I like the configuration in the web.config but I couldn't make it works when I sent content-type application/json or when I sent authorization header. For POST plain text works well. In the other hand using attributes for CORS works really well with application/json and authorization header and it is not necessary configure preflight.