AspNetCore.Docs
AspNetCore.Docs copied to clipboard
Where are FormFile resides exactly
I'm working on performance critical app when i diagnose times i found out that formfile.copyto takes 5 or 6 secs for only 60MB file- how can I access contents from FormFile itself without copying it - and where does it actually resides - if its in memory it would be better to access it there without involving desk for better performance
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: c1cf23f9-09c0-0776-2924-46ea571afb4c
- Version Independent ID: f7dbe836-768d-ea56-33d0-f8e42c166afd
- Content: Upload files to a Razor Page in ASP.NET Core
- Content Source: aspnetcore/tutorials/razor-pages/uploading-files.md
- Service: unspecified
- Product: aspnet-core
- GitHub Login: @guardrex
- Microsoft Alias: riande
I found out I can Configure FormOptions in startup to force uploaded files to memory