你的位置: 码友网首页 / 资讯源列表 / BackgroundService Gotcha: Application Lifetime

关于[BackgroundService Gotcha: Application Lifetime]的摘要:

This one isn’t so much a “gotcha” as it is a common mistake. Hosted services (including BackgroundServices) have a lifetime that is independent from their host. This means that if a BackgroundService exits, its host will not exit. And a host will happily continue running even if all its services have exited.

原文地址: https://blog.stephencleary.com/2020/06/backgroundservice-gotcha-application-lifetime.html

收录时间: 2020-06-07 浏览量: 1449 分类: ASP.NET Core

| 0 收藏 | 0