EnableCors attribute on the API controller you need to make sure that the forward slash at the end of the
origins parameter is removed.
[EnableCors(origins: "http://localhost:49332", headers:"*", methods:"*")]
[EnableCors(origins: "http://localhost:49332/", headers:"*", methods:"*")]
That is it. That single forward slash tripped me up. The error written to the web DevTools console was
Access to XMLHttpRequest at 'http://localhost:49342/api/users/name/smith/' from origin 'http://localhost:49332' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Hope this helps you waste a little less time.