I have following controller to get JSON data
[HttpPost]
[Route("Clients/Active")]
public IHttpActionResult SearchClient(ClientSearchParams p)
{
List<ClientViewModel> _result = PeopleComponent.SearchClient(p).ToList();
return Ok<IEnumerable<ClientViewModel>>(_result);
}
Works fine for smaller data (couple of thousand of lines) and returns full formatted JSON but when data is little bigger the response get truncated occasionally but with 200 OK.
Any idea why controller would truncate it randomly. Completely baffled.