简体   繁体   中英

NodeJs project as a Azure WebJob

What is process to upload NodeJs project as Azure WebJob from Visual Studio.

I want to upload my nodeJs Project to azure as a WebJob from visual studio with out a WebAPP I am not able to find any blogs or articles to progress further.

Any suggestions?

There is an offical tutorial Deploy WebJobs using Visual Studio which you can refer to, but the deployment is within a WebApp.

However, I discovered a new preview feature Azure WebJobs as Api App on Azure new portal. I think it seems to satisfy your needs, please see and try at the link .

Hope it helps.

This question is problematic, WebJobs run always in the context of a WebApp, that's what they are designed for.

In the meantime Microsoft published Azure Functions https://azure.microsoft.com/en-us/services/functions/ which can do mostly the same and more, only problem is you'll be developing more functional (haha) as global objects/settings/environment variables aren't accessible (because there is no WebApp context).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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