1

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.

Mathias Rönnlund
  • 4,078
  • 7
  • 43
  • 96

1 Answers1

4

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.

Community
  • 1
  • 1
Benjamin Soulier
  • 2,223
  • 1
  • 18
  • 30
  • But the WebJob is not in the "Staging" slot either. I have uploaded the WebJob manually through the portal and it is not deployed from Visual Studio. – Mathias Rönnlund Oct 10 '16 at 13:15
  • You have your answer: I am pretty sure that uploading you webjob manually is causing your issue. Give a try & deploy it using Visual Studio tooling – Benjamin Soulier Oct 10 '16 at 13:21