简体   繁体   English

一个 Azure Web App 可以只包含 azure web jobs

[英]Can an Azure Web App consist exclusively of azure web jobs

I am working on a solution that requires many continuously running web jobs.我正在研究一个需要许多连续运行 web 作业的解决方案。 I don't want to package these with any of the Web Apps that are part of our product for reasons of isolation and performance.出于隔离和性能的原因,我不想 package 这些与属于我们产品一部分的任何 Web 应用程序。 I guess some Azure Dev Ops work is involved, but my question is do I have to create Web app with no code, like a Weather Forecast type of project in order to deploy my web jobs.我想涉及一些 Azure Dev Ops 工作,但我的问题是我是否必须创建没有代码的 Web 应用程序,例如天气预报类型的项目,以便部署我的 web 作业。

You are correct.你是对的。 Azure does not have any standalone resource for webjobs. Azure 没有任何独立的网络作业资源。 You can create an empty webapp and use that to host your webjobs .您可以创建一个空的 webapp 并使用它来托管您的 webjobs Or, you can check out Azure Function app which is quite similar to web jobs as it also utilizes WebJobs SDK but have some additional features as well as constrains.或者,您可以查看 Azure Function 应用程序,它与 web 作业非常相似,因为它也使用 WebJobs SDK,但具有一些附加功能和限制。 Chris has explained more in details in his answer .克里斯在他的回答中有更详细的解释。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM