I had also hard time with cors and angular 6.
when a request to the server is not a basic request, there is preflight request asking your server if it can answer to your request.
the server respond to that request should have those headers:
Access-Control-Allow-Origin // should be your domain
Access-Control-Allow-Headers // should be Accept, Origin, any other headers you might have.
Access-Control-Allow-Method // any methods you use
those are the " * ", " * ", " * " you added as Cors Attributes to accept all
but that only worked for me in dev mode when both client and server were on same machine.
after i moved to production with IIS server those values did not worked anymore especially because of the headers.
so it really easy to fix and it also working for IOS
instead * * * i added this to each controller:
[EnableCors(origins: "enter your domain here", headers: "authorization, Origin, Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers", methods: "GET,POST", PreflightMaxAge = 600 // optional, SupportsCredentials = true // optional)]
you can read more in the article that helped me understand what i needed to do:
https://msdn.microsoft.com/en-us/magazine/dn532203.aspx
Hope it helps,
Tomer.