0

I use dotnet core and i got error like this :

HTTP Error 404.13 - Not Found
The request filtering module is configured to deny a request that exceeds the request content length.

I've tried use this :

[DisableRequestSizeLimit]
    public class HomeController : Controller
    {

I also tried :

[HttpPost]
        [RequestSizeLimit(100_000_000)]
        public IActionResult ProcessFile(IFormFile file)
        {

but still cant upload file with size 50MB +

how to increase upload size in dotnet core 2

I use IIS Express

yozawiratama
  • 4,209
  • 12
  • 58
  • 106

0 Answers0