Multipart body length limit 16384 exceeded #17441
Labels
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Author: Migration Bot 🤖
The issue was created by a issue mover bot. The author may not be the actual author.
Needs: Author Feedback
The author of this issue needs to respond in order for us to continue investigating this issue.
This issue has been moved from a ticket on Developer Community.
[regression] [worked-in:16.2.2]
After updating visual studio version 16.3.2. when using Request.Form to get formdata from client side to API, I am getting error as 'Multipart body length limit 16384 exceeded.' Earlier it was working fine with Visual studio version 16.2.2. but after updating it fails on new version i.e. on 16.3.2.
I am calling web api using http post along with FormData and binding in webApi httppost method as code given below and getting error on the given line below
var data= Request.Form.ToDictionary(x => x.Key, x => x.Value.ToString());
I am using angular 5.0 version as client side and Web API .net core. 2.2 on server side.
I have also used the
services. Configure(x => x.ValueCountLimit = 50000);
in startup file.
Original Comments
Visual Studio Feedback System on 10/6/2019, 09:48 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Visual Studio Feedback System on 10/10/2019, 11:00 PM:
Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2017#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: