.net - Uploading large files with ASP.NET: what are the best practices? -


What is, nowadays, the best practice for uploading a large file with ASP.NET web form (which is timeout ) And / or MVC?

  • Increase in server. ScriptTimeout (only for specific post requests);
  • Some flash client-side uploader such as swfupload () or plupload (), but the flash upload has some problems with the proxy;
  • Use some Gmail-like JavaScript (like)

There is probably one upload control in each Mayor component suite. So if you already use such a component suite, you can use one of them.

Make sure that whatever you use as a upload device that streams it to IIS, and does not upload it to everyone before writing it


Comments