问题
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