Azure WebJob removed after App Service publish with Autoswap

守給你的承諾、 提交于 2019-12-11 05:26:40

问题


We have an Asp.Net Core Azure App Service. We have added one deployment slot, to which we deploy. This slow has Autoswap enabled.

When we deploy a new version .Net Core Console app WebJob we have added in production, it is removed.

The question is, when will it be possible to publish a WebJob alongside an Asp.Net Core project.


回答1:


As stated ins this SO answer, a Web job is part of the App service content.

So when switching from one slot to another, you are switching the whole App Service content, which includes switching Webjobs.



来源:https://stackoverflow.com/questions/39958252/azure-webjob-removed-after-app-service-publish-with-autoswap

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!