I am using an angular web project with c# web api with CORS enabled.
All of my CORS work correctly on all calls except when I make a file upload to a async Task. Her
Make sure your Max allowed content Length in your web.config is set high enough otherwise you'll get an error. Check your IIS logs to see if that's the issue.
<requestFiltering> <requestLimits maxAllowedContentLength="4294967295" /> <!-- bytes --> </requestFiltering>