Deploy Code to Azure App Service
-
In this series we will be using Node js
-
Prereqs: Install the Visual Studio Code Extension for Azure App Service
-
Refer Here to watch how to install
-
Install node js and npm
choco install nodejs -y
exit
node --version
npm --version
- Use any nodejs code developed or clone sample code from github
git clone https://github.com/Azure-samples/nodejs-docs-hello-world
cd nodejs-docs-hello-world
code .
- In the vs code select the Azure Logo
Azure Web Jobs
- Azure WebJobs enable you to run a program or script in the same instance as web app.
- Azure WebJobs types are
- Continuous (Always running)
- Triggered (triggered on schedule/manually)
- Supported scripts
- cmd, bat, exe
- ps1
- sh
- php
- python
- Js
- jar
Azure App Management
- Plan (Pricing Tier)
- Backup and Restore Azure apps