I am trying to upload large files using ASP.NET Web API controller
- I am able to upload until 2 GB.
- But for more than 2 GB I am unable to upload.
- Is this a limitation of the Web API controller and ASP.NET?
- Should I make any configuration changes?
I am trying to upload large files using ASP.NET Web API controller
It looks like it has been voted for and completed as of .NET 4.5, see Maximum upload size in ASP.NET is 2 GB. Increase it. However, it needs to be resolved in IIS 8.0, see Please, share how to upload files larger then 2 GB (without splitting) on IIS 8.0 using ASP.NET 4.5?.
Otherwise, you might have to look at third-party (paid, open source) solutions for a more elegant approach of uploading the large files in chunks (with a progress bar indicator, etc.).