I am sending JSON data to Web api. Everything works locally with IISExpress. However, there is an issue with remote server which has IIS 8 installed. I got no response when request payload reaches some value. I mean that the response is in pending status (no empty response, no errors). Limits varies a bit for different controllers/functions, but still is pretty low. They are around 2.5-3.5 kb. It feels like concrete controller's method is not hit at all in such cases (to check this, I put return statement right in the beginning of the method like following).
[HttpPost]
public async Task<IHttpActionResult> UpdateCity(int id, CityDto cityDto)
{
return StatusCode(HttpStatusCode.NoContent);
}
I tried to set request limits as mentioned here https://stackoverflow.com/a/3853785/3507404 without luck. My set up:
1) Amazon EC2
2) Windows Server 2012 r2
3) IIS 8
4) Net 4.5
I do not see any related info in IIS logs.
How can I debug this issue? Is there any other limits that I should set? Can it be related to Amazon EC2?