title: What is the equivalent of the HttpResponseBase.BufferOutput property in ASP.NET Core 2?
body: <p>I am in the process of converting a large .NET Framework project to a .NET Core project, and I have come across the following code:</p>
  
  <pre><code>public class ContentStreamingResult : ActionResult {
  
      private Action&lt;Stream&gt; _onExecuteAction;
  
      public ContentStreamingResult(Action&lt;Stream&gt; onExecuteAction) {
          _onExecuteAction = onExecuteAction;
      }
  
      public override void ExecuteResult(ControllerContext context) {
          var httpContext = context.HttpContext;
          httpContext.Response.BufferOutput = false;
          _onExecuteAction(httpContext.Response.OutputStream);
      }
  }
  </code></pre>
  
  <p>There is no <code>BufferOutput</code> property on the <code>HttpResponse</code> class in .NET Core.</p>
  
  <p>What is the equivalent of the <code>HttpResponseBase.BufferOutput</code> property in ASP.NET Core 2?</p>