locked
Image file upload in ASP.NET Core RRS feed

  • Question

  • User1801142327 posted

    I'm having the same problem as described here: https://forums.asp.net/t/2145616.aspx?Image+file+upload. I've tried using [RequestFormLimits(MultipartBodyLengthLimit = 209715200)] and [RequestSizeLimit(209715200)] before the post method (right after [HttpPost]). It solved for me in a debug enviroment, but when in production  I'm having some trouble with route. So I don't think its the best solution.

    Thursday, July 16, 2020 12:56 PM

All replies

  • User-17257777 posted

    Hi hilario_cassio,

    but when in production  I'm having some trouble with route.

    What is the specific problem? It would be better if you can share us the related codes.

    Best Regards,

    Jiadong Meng

    Friday, July 17, 2020 7:32 AM