In this session, we will present a scenario where Visual Studio Team Services (VSTS) can enable Node.js developers with continuous integration and deployment features. The scenario demonstrates how a Node.js developer using Visual Studio Code and various Azure-related VS Code extensions to create a new Azure App Service and use Git-based deployment. You’ll learn how a Node.js developer using the popular server-side MVC framework known as Express can use VSTS to ensure that their code is deployed automatically to an Azure App Service when code is committed to a VSTS Git repository.
If you don’t already have a Visual Studio Dev Essentials and Visual Studio Team Services account, create one at my.visualstudio.com.
If you don’t already have an Azure subscription, create one here.
Install Git if you don’t already have it installed.
Install Visual Studio Code.
Install the Azure Tools for VS Code using either the VS Code Extensions Palette (search for azure tools) or by running the command
ext install azuretoolsforvscodeat the VS Code command palette.
Once you have installed Visual Studio Code, open an instance of the editor. In Code, use
Cmd-Shift-Pon a Mac) to open up the command palette. Type the word
pathto filter the command menu, and then select the command Install ‘code’ command in PATH to make it easy to open Visual Studio Code from your command line.
- Express MVC Web App Scenario - Contains the end-to-end demo steps.
Setting up the Environment
Click on Deploy to Azure to create Visual Studio 2017 Enterprise Virtual Machine.