![](/img/trans.png)
[英]MaxRequestBodySize not working in webserver with Azure App Service
[英]IHostedService app not starting automatically on azure app service
我在do.net core 3.1有一个IHostedService应用,部署在azure应用服务计划上,但是需要浏览应用服务才能激活IHostedService。
我有自动部署管道,当它部署 IHostedService 应用程序时,它停止工作,我必须通过单击浏览按钮手动启动。
有人知道部署后如何激活 IHostedService 吗?
我的一位 devops 专家同事为我找到了解决方案。
应用服务 -> 配置 -> 常规设置 -> Always On [on]
Always On 功能让您的 Azure web 应用程序保持正常运行,
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.