ASP.NET Core Pitfalls - Async File Uploads

added by DotNetKicks
12/4/2020 2:06:52 PM

674 Views

When performing file upload(s) to an asynchronous action, it may happen that the uploaded file(s) may not be accessible, resulting in an ObjectDisposedException. This is because the uploaded files are saved to the filesystem temporarily by ASP.NET Core and then removed, after the request has been processed, which is generally what we want.


0 comments