ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
environment:Linux、Nginx、.Net 6 WebApi application i get a 500 bad request when i post data to the webapi with a content-length more than about 10k how to fix this problem? i can't get the exception through try catch or IAsyncExceptionFilter filter,because the webapi return 500 bad request directly
In the ngnix.config file increase the max request size
http{
...
client_max_body_size 50M;
...
}