【问题标题】:How to handle long running http requests between Angular and backend API CORE如何处理 Angular 和后端 API CORE 之间长时间运行的 http 请求
【发布时间】:2021-02-07 03:20:09
【问题描述】:

如果我的 http 请求需要很长时间,我会遇到超时问题。 angular 和 api core 的连接断开了,但是 api core 正在后台运行。 那么如何处理http请求时间。请帮忙。

【问题讨论】:

    标签: c# .net angular .net-core asp.net-apicontroller


    【解决方案1】:

    或许,default timeout handling 可以帮助您。如果您假设您的 http 请求可以持续这么长时间,请提供适当的值,但请记住,这是不好的模式。

    【讨论】:

      猜你喜欢
      • 2012-08-20
      • 1970-01-01
      • 1970-01-01
      • 2012-02-01
      • 1970-01-01
      • 2011-01-12
      • 2020-10-17
      • 2013-10-19
      • 1970-01-01
      相关资源
      最近更新 更多