How to prevent Azure webjobs from being swapped in Azure website production <--> staging slots

后端 未结 3 1329
说谎
说谎 2020-12-09 09:14

I have an Azure website with a production and staging slot with multiple instances.

I run several Azure webjobs on the site, some of which are triggered others that

3条回答
  •  执念已碎
    2020-12-09 10:16

    The by far easiest solution to this problem is to have a separate Web App for your Web Job. Just place the Worker Web App on the same Azure Service Plan and you will have two separate Web Apps running on the same machine(s).

    web-app web-app-worker

提交回复
热议问题