I have a WebAPI Backend build with .netcore and hosted with Kestrel (the default situation with .netcore backends).
The WebAPI allows receiving large files (used for FW Updates) of ~250MB. In the REST Controller I copy the content from the IFormFile to a temp directory on the system as it is shown in every example you can find on the web.
This leads to the fact that I need at least 500MB free memory (which is a lot on an embedded device). The situation gets even worse when I use a Reverse Proxy (e.g. NGINX).
Is there any setting I can set so that not every instance in the call keeps a copy of the transferred file?