title: Timeout handling in dotnet core API
body: <p>My angular application is consuming dotnet core API. My API is comsuming other APIs to send response. Sometimes, the other APIs I'm consuming takes too long to respond.
  Thus, I dont want my angular application to keeps waiting for too long. I want to create a <em>timeout middleware</em> which returns, i dont know, a response saying &quot;Request Timeout&quot; or something for all the requests that takes more than 3-4 seconds.</p>
  <p>I'm using dotnet core 2.2.</p>