Does IFormFile read the file from the client automatically in ASP.NET Core?

468 Views Asked by At

I have IFormFile in my Razor model and I'm submitting it to the server. When I get there will the file be read from the client or do I need to do it manually.

The idea is that I want to use CopyToAsync but I'm afraid that I'm going to allocate memory for the file twice if it is already in memory.

0

There are 0 best solutions below