Web >> Development >> ASP.Net >>  How to control the size of files uploaded using HTMLInputFile class

set the parameter maxRequestLength in the web.config file for your application