Back to "Pure ASP.NET file upload...I have my doubts..."

This is a viewer only at the moment see the article on how this works.

To update the preview hit Ctrl-Alt-R (or ⌘-Alt-R on Mac) or Enter to refresh. The Save icon lets you save the markdown file to disk

This is a preview from the server running through my markdig pipeline

ASP.NET Imported mostlylucidcouk Performance

Pure ASP.NET file upload...I have my doubts...

Tuesday, 16 March 2004

OK, maybe someone 'in the know' can settle this, is it possible to upload large files efficiently purely using ASP.NET? I've been following a threadin the ASP.NET forums about providing a method to do this using HttpHandlers / Modules to do this. What confuses me though is, is there any point to this? As I understand it, IIS will cache a Request stream before passing it, in it's entirety, to ASP.NET. If this is true then there's no way to efficiently upload files in ASP.NET - since the whole file would need to be held in memory before upload - uploading a 4GB file would require 4GB+ of memory. Can anyone confirm this, does IIS 6.0 change this behaviour???

logo

© 2025 Scott Galloway — Unlicense — All content and source code on this site is free to use, copy, modify, and sell.