Posted
on Aug 3, 2011
(permalink)
I am looking at a solution to upload large files. I would like to use MVC with the Razor syntax but if I am not mistaken:
a. The MVC Upload control is limited to 4Mb. I understand that you can up that to 20Mb or go higher but you are starting to play with timeout value guessing and it will never work with files of 2Gb
b. The ASP.NET AJAX control AsyncUpload works with files chunk and therefore can handle very large files. (using HTTPModule and HTTPHandler)
c. The ASP.NET AJAX control AsyncUpload cannot be integrated with MVC Razor because Aspx and Razor don't play well together.
d. The ASP.NET AJAX control AsyncUpload can be integrated with MVC ASPX but you do not get access to the server side event (FileUploaded, FileFailed, UploadStarted, ...)
So first, is that correct ?
Best case, I am wrong ! Then can someone explain how to get the MVC Razor to upload files as chunks.
Worst case, I am right... Then are there any plans in the roadmap to provide MVC Razor to upload files as chunks ?
Thanks