I looked through and found a way to synchronize between the configuration section for file size and maximum resolution. Is it possible?
Is it best to allow very large file sizes in the web.config file and then apply smaller sizes in your implementations?
Try something like this:
HttpRuntimeSection section = ConfigurationManager.GetSection("system.web/httpRuntime") as HttpRuntimeSection;
So you get section.MaxRequestLength
section.MaxRequestLength
Source: https://habr.com/ru/post/1795363/More articles:Is there a PHP variable that includes a merge of $ _GET and $ _POST? - phpMySQL - Perl: how to get an array of zip codes in the submitted "x" miles represented by the "zipcode" in the Perl example - mysqlUsing Min / Max with a conditional statement - sqlgl_VertexID interrupts rendering - windowsfile not saved on S3 with amazon paperclip configuration - ruby-on-rails-3Entity Framework 4 context? - model-view-controllerHow to use standard C ++ libraries in xcode? - c ++Any tips for writing cross-browser Greasemonkey scripts? - javascriptAndroid: battery usage for every application - androidHTTPS and data integrity - integrityAll Articles