title: Disable chunking in ASP.NET Core
body: <p>I'm using an ASP.NET Core Azure Web App to provide a RESTful API to a client, and the client doesn't handle chunking correctly.</p>
  <p>Is it possible to completely turn off <code>Transfer-Encoding: chunked</code>, either at the controller level or in file <em>web.config</em>?</p>
  <p>I'm returning a JsonResult somewhat like this:</p>
  <pre><code>[HttpPost]
  [Produces(&quot;application/json&quot;)]
  public IActionResult Post([FromBody] AuthRequest RequestData)
  {
      AuthResult AuthResultData = new AuthResult();
  
      return Json(AuthResultData);
  }
  </code></pre>