SlideShare a Scribd company logo
PROBLEMS OUTPUT DEBUG CONSOLE TERMINAL
[name] Patriek van Dorp
[role] Cloud Solution Architect
[twitter] @pvandorp
~/code$ az account get presenter
{
“title”: “Provisioning,
Deploying and Debugging
Node.js Applications on
Azure”
}
~/code$ node javascript_everywhere.js
Developers are already familiar with JavaScript on the client-
side. Why not have them develop JavaScript on the server-side
as well?
Business logic and data structures all in one format (both in-
process, on-the-wire and on-disk).
Node.js runs on every operating system.
~/code$ cat synchronous & cat asynchronous & cat evented-io
(s) ---> /---->
-------->-------->-------->-------->-------->/
(a) ---> /---->
----> /----> /--->/
-------->-------->/ ---->/
(e) --->  /-> /-> /-----> /----/--->----->
--->/ ---->/ -/-->------>/ /
-------->-------->/ ---->/
~/code$ node ../history.js
[2009] Node.js introduced at JSConf.eu – async I/O
[2010] npm package manager sharing components through OSS
[2011] Node.js ported to lubuv and Windows
[2011] Node.js supported on Azure Web Apps – PaaS for Node
[2013] “MEAN” stack – Node.js and NoSQL
[2014] Functions and Serverless – Node.js as universal lang
[2014] io.js – tension between rapid innovation and
stability
[2015] Node.js Foundation founded & merged with io.js
[2015] First LTS release – addressing stability needs
[2016] Node-ChakraCore – Bringing Node.js everywhere
[2016] VS Code 1.0 – Debugger for Node.js
[2016] Diagnostics WG – new diagnostics capabilities
Azure App Service
Let us take care of infrastructure matters
Azure App Service Flavors
Mobile Apps
Functions
Logic Apps
API Apps
Web Apps
Azure App Service
App Service Plans
 … is a Virtual Machine
 … can be scaled up
 … can be scaled out
 … is used to host Web Apps
An App Service Plan …
…
Azure App Service
Web Apps
 … is a ‘container’ for configuration
 … is an execution environment for your code
 … offers multiple deployment slots
 … supports Blue/Green deployments
 … supports A/B Testing
 … has advanced monitoring built in
 … supports a lot of OSS runtimes
A Web App …
Azure App Service
DEMO
The Never-Ending Cycle of DevOps
Plan
It starts with and idea – and a plan to make it a reality…
Manage work
Develop + Test 1
Project starts
PlanTrack progress
Develop, Build, Test
Developers turn great
ideas into features
Write Code
Unit Testing
2
Build
Version Control
Build Verification
Release
Release
When unit tests pass, the build is deployed and tested for each
stage in the release process
Cloud
Load Testing
Automated
functional testing
environment
Integration testing
environment
3
Pre-production
environment
Staging
environment
Monitor + Learn
Monitor & Learn
Learn and understand how users use your app, how it reacts and
quickly fix issues and bugs
4
Monitor
Feedback
Plan the next iteration
Visual Studio
Team Services
DEMO
~/code$ sudo az
/
/  _____ _ _ __ ___
/ /  |_ / | | | '__/ _ 
/ ____  / /| |_| | | | __/
/_/ _/___|__,_|_| ___|
Welcome to the cool new Azure CLI!
Here are the base commands:
account : Manage subscriptions.
acr : Manage Azure container registries.
acs : Manage Azure Container Services.
ad : Synchronize on-premises directories and
manage Azure Active Directory…
…
~/code$ node ./next.js
* https://www.microsoftazurepass.com/
* https://azure.microsoft.com/en-us/free/
* https://azure.microsoft.com/en-us/develop/nodejs
* https://code.visualstudio.com/
* https://github.com/pvandorp/node-samples
* https://docs.microsoft.com/en-us/azure/app-service-
mobile/app-service-mobile-node-backend-how-to-use-server-sdk
---------------------------------------------------
! https://aka.ms/posteventfeedback
Ad

Recommended

Node.js kubernetes-cloud all the buzzwords coming together with microsoft azure
Node.js kubernetes-cloud all the buzzwords coming together with microsoft azure
Patriek van Dorp
 
TechDays NL 2017: The Hybrid Docker Swarm
TechDays NL 2017: The Hybrid Docker Swarm
Elton Stoneman
 
Lessons Learned Building a Container App Library
Lessons Learned Building a Container App Library
Adnan Abdulhussein
 
SQL Sever on Docker: Database Containers 3 Ways
SQL Sever on Docker: Database Containers 3 Ways
Elton Stoneman
 
Modernizing Traditional Apps with Docker Enterprise Edition
Modernizing Traditional Apps with Docker Enterprise Edition
Elton Stoneman
 
Cloud+Data Next: Mashing Linux and Windows Containers
Cloud+Data Next: Mashing Linux and Windows Containers
Elton Stoneman
 
Build automated Machine Images using Packer
Build automated Machine Images using Packer
Marek Piątek
 
PuppetConf 2016: Scaling Puppet on AWS ECS with Terraform and Docker – Maxime...
PuppetConf 2016: Scaling Puppet on AWS ECS with Terraform and Docker – Maxime...
Puppet
 
Docker Tooling for Eclipse
Docker Tooling for Eclipse
Max Andersen
 
#SDD2017 - Modernizing .NET Apps with Docker
#SDD2017 - Modernizing .NET Apps with Docker
Elton Stoneman
 
How To Make A Framework Plugin That Does Not Suck
How To Make A Framework Plugin That Does Not Suck
Max Andersen
 
#dddsw - Modernizing .NET Apps with Docker
#dddsw - Modernizing .NET Apps with Docker
Elton Stoneman
 
IP EXPO London 2017: Modernizing Traditional Apps with Docker
IP EXPO London 2017: Modernizing Traditional Apps with Docker
Elton Stoneman
 
"Workstation Up" - Docker Development at Flow by Mike Roth
"Workstation Up" - Docker Development at Flow by Mike Roth
Docker, Inc.
 
Docker on Windows: From 101 to Modernizing .NET Apps
Docker on Windows: From 101 to Modernizing .NET Apps
Elton Stoneman
 
Kubernetes your tests! automation with docker on google cloud platform
Kubernetes your tests! automation with docker on google cloud platform
LivePerson
 
Testing as a container
Testing as a container
Irfan Ahmad
 
Docker on Windows and Linux - Red Shirt Dev Tour
Docker on Windows and Linux - Red Shirt Dev Tour
Elton Stoneman
 
Scaffolding for Serverless: lightning talk for AWS Arlington Meetup
Scaffolding for Serverless: lightning talk for AWS Arlington Meetup
Chris Shenton
 
Elixir/Phoenix releases and research about common deployment strategies.
Elixir/Phoenix releases and research about common deployment strategies.
Michael Dimmitt
 
stackconf 2020 | Enterprise CI/CD Integration Testing Environments Done Right...
stackconf 2020 | Enterprise CI/CD Integration Testing Environments Done Right...
NETWAYS
 
DevOps Workflow: A Tutorial on Linux Containers
DevOps Workflow: A Tutorial on Linux Containers
inside-BigData.com
 
End-to-end CI/CD deployments of containerized applications using AWS services
End-to-end CI/CD deployments of containerized applications using AWS services
Massimo Ferre'
 
Techbash 2017 - Modernizing Traditional.NET Apps with Docker
Techbash 2017 - Modernizing Traditional.NET Apps with Docker
Anoop Kumar
 
La sécurité avec Kubernetes et les conteneurs Docker (June 19th, 2019)
La sécurité avec Kubernetes et les conteneurs Docker (June 19th, 2019)
Alexandre Roman
 
CI/CD Using Ansible and Jenkins for Infrastructure
CI/CD Using Ansible and Jenkins for Infrastructure
Faisal Shaikh
 
Criando pipelines de entrega contínua multilinguagem com Docker e Jenkins
Criando pipelines de entrega contínua multilinguagem com Docker e Jenkins
Camilo Ribeiro
 
Serverless Containers
Serverless Containers
Nilesh Gule
 
An Introduction to Node.js Development with Windows Azure
An Introduction to Node.js Development with Windows Azure
Troy Miles
 
Node.js on Azure
Node.js on Azure
Sasha Goldshtein
 

More Related Content

What's hot (20)

Docker Tooling for Eclipse
Docker Tooling for Eclipse
Max Andersen
 
#SDD2017 - Modernizing .NET Apps with Docker
#SDD2017 - Modernizing .NET Apps with Docker
Elton Stoneman
 
How To Make A Framework Plugin That Does Not Suck
How To Make A Framework Plugin That Does Not Suck
Max Andersen
 
#dddsw - Modernizing .NET Apps with Docker
#dddsw - Modernizing .NET Apps with Docker
Elton Stoneman
 
IP EXPO London 2017: Modernizing Traditional Apps with Docker
IP EXPO London 2017: Modernizing Traditional Apps with Docker
Elton Stoneman
 
"Workstation Up" - Docker Development at Flow by Mike Roth
"Workstation Up" - Docker Development at Flow by Mike Roth
Docker, Inc.
 
Docker on Windows: From 101 to Modernizing .NET Apps
Docker on Windows: From 101 to Modernizing .NET Apps
Elton Stoneman
 
Kubernetes your tests! automation with docker on google cloud platform
Kubernetes your tests! automation with docker on google cloud platform
LivePerson
 
Testing as a container
Testing as a container
Irfan Ahmad
 
Docker on Windows and Linux - Red Shirt Dev Tour
Docker on Windows and Linux - Red Shirt Dev Tour
Elton Stoneman
 
Scaffolding for Serverless: lightning talk for AWS Arlington Meetup
Scaffolding for Serverless: lightning talk for AWS Arlington Meetup
Chris Shenton
 
Elixir/Phoenix releases and research about common deployment strategies.
Elixir/Phoenix releases and research about common deployment strategies.
Michael Dimmitt
 
stackconf 2020 | Enterprise CI/CD Integration Testing Environments Done Right...
stackconf 2020 | Enterprise CI/CD Integration Testing Environments Done Right...
NETWAYS
 
DevOps Workflow: A Tutorial on Linux Containers
DevOps Workflow: A Tutorial on Linux Containers
inside-BigData.com
 
End-to-end CI/CD deployments of containerized applications using AWS services
End-to-end CI/CD deployments of containerized applications using AWS services
Massimo Ferre'
 
Techbash 2017 - Modernizing Traditional.NET Apps with Docker
Techbash 2017 - Modernizing Traditional.NET Apps with Docker
Anoop Kumar
 
La sécurité avec Kubernetes et les conteneurs Docker (June 19th, 2019)
La sécurité avec Kubernetes et les conteneurs Docker (June 19th, 2019)
Alexandre Roman
 
CI/CD Using Ansible and Jenkins for Infrastructure
CI/CD Using Ansible and Jenkins for Infrastructure
Faisal Shaikh
 
Criando pipelines de entrega contínua multilinguagem com Docker e Jenkins
Criando pipelines de entrega contínua multilinguagem com Docker e Jenkins
Camilo Ribeiro
 
Serverless Containers
Serverless Containers
Nilesh Gule
 
Docker Tooling for Eclipse
Docker Tooling for Eclipse
Max Andersen
 
#SDD2017 - Modernizing .NET Apps with Docker
#SDD2017 - Modernizing .NET Apps with Docker
Elton Stoneman
 
How To Make A Framework Plugin That Does Not Suck
How To Make A Framework Plugin That Does Not Suck
Max Andersen
 
#dddsw - Modernizing .NET Apps with Docker
#dddsw - Modernizing .NET Apps with Docker
Elton Stoneman
 
IP EXPO London 2017: Modernizing Traditional Apps with Docker
IP EXPO London 2017: Modernizing Traditional Apps with Docker
Elton Stoneman
 
"Workstation Up" - Docker Development at Flow by Mike Roth
"Workstation Up" - Docker Development at Flow by Mike Roth
Docker, Inc.
 
Docker on Windows: From 101 to Modernizing .NET Apps
Docker on Windows: From 101 to Modernizing .NET Apps
Elton Stoneman
 
Kubernetes your tests! automation with docker on google cloud platform
Kubernetes your tests! automation with docker on google cloud platform
LivePerson
 
Testing as a container
Testing as a container
Irfan Ahmad
 
Docker on Windows and Linux - Red Shirt Dev Tour
Docker on Windows and Linux - Red Shirt Dev Tour
Elton Stoneman
 
Scaffolding for Serverless: lightning talk for AWS Arlington Meetup
Scaffolding for Serverless: lightning talk for AWS Arlington Meetup
Chris Shenton
 
Elixir/Phoenix releases and research about common deployment strategies.
Elixir/Phoenix releases and research about common deployment strategies.
Michael Dimmitt
 
stackconf 2020 | Enterprise CI/CD Integration Testing Environments Done Right...
stackconf 2020 | Enterprise CI/CD Integration Testing Environments Done Right...
NETWAYS
 
DevOps Workflow: A Tutorial on Linux Containers
DevOps Workflow: A Tutorial on Linux Containers
inside-BigData.com
 
End-to-end CI/CD deployments of containerized applications using AWS services
End-to-end CI/CD deployments of containerized applications using AWS services
Massimo Ferre'
 
Techbash 2017 - Modernizing Traditional.NET Apps with Docker
Techbash 2017 - Modernizing Traditional.NET Apps with Docker
Anoop Kumar
 
La sécurité avec Kubernetes et les conteneurs Docker (June 19th, 2019)
La sécurité avec Kubernetes et les conteneurs Docker (June 19th, 2019)
Alexandre Roman
 
CI/CD Using Ansible and Jenkins for Infrastructure
CI/CD Using Ansible and Jenkins for Infrastructure
Faisal Shaikh
 
Criando pipelines de entrega contínua multilinguagem com Docker e Jenkins
Criando pipelines de entrega contínua multilinguagem com Docker e Jenkins
Camilo Ribeiro
 
Serverless Containers
Serverless Containers
Nilesh Gule
 

Similar to Provisioning, deploying and debugging node.js applications on azure (20)

An Introduction to Node.js Development with Windows Azure
An Introduction to Node.js Development with Windows Azure
Troy Miles
 
Node.js on Azure
Node.js on Azure
Sasha Goldshtein
 
Node.js on Windows Azure
Node.js on Windows Azure
Neil Mackenzie
 
Node.js for .NET Developers
Node.js for .NET Developers
David Neal
 
Debugging in Node.js and Azure
Debugging in Node.js and Azure
Brian Clark
 
NodeJS & Socket IO on Microsoft Azure Cloud Web Sites - DWX 2014
NodeJS & Socket IO on Microsoft Azure Cloud Web Sites - DWX 2014
Stéphane ESCANDELL
 
Adobe nondisclosure-agreement-automation-solution-sb.pd
Adobe nondisclosure-agreement-automation-solution-sb.pd
oh seongkooi
 
Azure DevOps for JavaScript Developers
Azure DevOps for JavaScript Developers
Sarah Dutkiewicz
 
Create your first application node.js and windows azure
Create your first application node.js and windows azure
Steve Xu
 
Azure App Services
Azure App Services
Azure Riyadh User Group
 
Develop & Deploy Node.js app on Windows Azure
Develop & Deploy Node.js app on Windows Azure
Andri Yadi
 
Azure web apps
Azure web apps
Vaibhav Gujral
 
JSNation.com - Azure Static Web Apps (SWA) with Azure DevOps
JSNation.com - Azure Static Web Apps (SWA) with Azure DevOps
Juarez Junior
 
Node js plus azure equals true
Node js plus azure equals true
Magnus Green
 
Intro to Node.js (for .NET Developers)
Intro to Node.js (for .NET Developers)
David Neal
 
Power of Azure Devops
Power of Azure Devops
Azure Riyadh User Group
 
Node.js on microsoft azure april 2014
Node.js on microsoft azure april 2014
Brian Benz
 
Node and Azure
Node and Azure
Jason Gerard
 
Getting started with development in azure
Getting started with development in azure
Jasjit Chopra
 
Build 2015 – Azure overview
Build 2015 – Azure overview
Lars Yde
 
An Introduction to Node.js Development with Windows Azure
An Introduction to Node.js Development with Windows Azure
Troy Miles
 
Node.js on Windows Azure
Node.js on Windows Azure
Neil Mackenzie
 
Node.js for .NET Developers
Node.js for .NET Developers
David Neal
 
Debugging in Node.js and Azure
Debugging in Node.js and Azure
Brian Clark
 
NodeJS & Socket IO on Microsoft Azure Cloud Web Sites - DWX 2014
NodeJS & Socket IO on Microsoft Azure Cloud Web Sites - DWX 2014
Stéphane ESCANDELL
 
Adobe nondisclosure-agreement-automation-solution-sb.pd
Adobe nondisclosure-agreement-automation-solution-sb.pd
oh seongkooi
 
Azure DevOps for JavaScript Developers
Azure DevOps for JavaScript Developers
Sarah Dutkiewicz
 
Create your first application node.js and windows azure
Create your first application node.js and windows azure
Steve Xu
 
Develop & Deploy Node.js app on Windows Azure
Develop & Deploy Node.js app on Windows Azure
Andri Yadi
 
JSNation.com - Azure Static Web Apps (SWA) with Azure DevOps
JSNation.com - Azure Static Web Apps (SWA) with Azure DevOps
Juarez Junior
 
Node js plus azure equals true
Node js plus azure equals true
Magnus Green
 
Intro to Node.js (for .NET Developers)
Intro to Node.js (for .NET Developers)
David Neal
 
Node.js on microsoft azure april 2014
Node.js on microsoft azure april 2014
Brian Benz
 
Getting started with development in azure
Getting started with development in azure
Jasjit Chopra
 
Build 2015 – Azure overview
Build 2015 – Azure overview
Lars Yde
 
Ad

Recently uploaded (20)

From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
Mastering AI Workflows with FME by Mark Döring
Mastering AI Workflows with FME by Mark Döring
Safe Software
 
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
 
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
 
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
Mastering AI Workflows with FME by Mark Döring
Mastering AI Workflows with FME by Mark Döring
Safe Software
 
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
 
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
 
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
Ad

Provisioning, deploying and debugging node.js applications on azure

  • 1. PROBLEMS OUTPUT DEBUG CONSOLE TERMINAL [name] Patriek van Dorp [role] Cloud Solution Architect [twitter] @pvandorp ~/code$ az account get presenter { “title”: “Provisioning, Deploying and Debugging Node.js Applications on Azure” }
  • 2. ~/code$ node javascript_everywhere.js Developers are already familiar with JavaScript on the client- side. Why not have them develop JavaScript on the server-side as well? Business logic and data structures all in one format (both in- process, on-the-wire and on-disk). Node.js runs on every operating system.
  • 3. ~/code$ cat synchronous & cat asynchronous & cat evented-io (s) ---> /----> -------->-------->-------->-------->-------->/ (a) ---> /----> ----> /----> /--->/ -------->-------->/ ---->/ (e) ---> /-> /-> /-----> /----/--->-----> --->/ ---->/ -/-->------>/ / -------->-------->/ ---->/
  • 4. ~/code$ node ../history.js [2009] Node.js introduced at JSConf.eu – async I/O [2010] npm package manager sharing components through OSS [2011] Node.js ported to lubuv and Windows [2011] Node.js supported on Azure Web Apps – PaaS for Node [2013] “MEAN” stack – Node.js and NoSQL [2014] Functions and Serverless – Node.js as universal lang [2014] io.js – tension between rapid innovation and stability [2015] Node.js Foundation founded & merged with io.js [2015] First LTS release – addressing stability needs [2016] Node-ChakraCore – Bringing Node.js everywhere [2016] VS Code 1.0 – Debugger for Node.js [2016] Diagnostics WG – new diagnostics capabilities
  • 5. Azure App Service Let us take care of infrastructure matters
  • 6. Azure App Service Flavors Mobile Apps Functions Logic Apps API Apps Web Apps
  • 7. Azure App Service App Service Plans  … is a Virtual Machine  … can be scaled up  … can be scaled out  … is used to host Web Apps An App Service Plan … …
  • 8. Azure App Service Web Apps  … is a ‘container’ for configuration  … is an execution environment for your code  … offers multiple deployment slots  … supports Blue/Green deployments  … supports A/B Testing  … has advanced monitoring built in  … supports a lot of OSS runtimes A Web App …
  • 11. Plan It starts with and idea – and a plan to make it a reality… Manage work Develop + Test 1 Project starts PlanTrack progress
  • 12. Develop, Build, Test Developers turn great ideas into features Write Code Unit Testing 2 Build Version Control Build Verification Release
  • 13. Release When unit tests pass, the build is deployed and tested for each stage in the release process Cloud Load Testing Automated functional testing environment Integration testing environment 3 Pre-production environment Staging environment Monitor + Learn
  • 14. Monitor & Learn Learn and understand how users use your app, how it reacts and quickly fix issues and bugs 4 Monitor Feedback Plan the next iteration
  • 16. ~/code$ sudo az / / _____ _ _ __ ___ / / |_ / | | | '__/ _ / ____ / /| |_| | | | __/ /_/ _/___|__,_|_| ___| Welcome to the cool new Azure CLI! Here are the base commands: account : Manage subscriptions. acr : Manage Azure container registries. acs : Manage Azure Container Services. ad : Synchronize on-premises directories and manage Azure Active Directory… …
  • 17. ~/code$ node ./next.js * https://www.microsoftazurepass.com/ * https://azure.microsoft.com/en-us/free/ * https://azure.microsoft.com/en-us/develop/nodejs * https://code.visualstudio.com/ * https://github.com/pvandorp/node-samples * https://docs.microsoft.com/en-us/azure/app-service- mobile/app-service-mobile-node-backend-how-to-use-server-sdk --------------------------------------------------- ! https://aka.ms/posteventfeedback

Editor's Notes

  • #5: https://code.visualstudio.com/docs/nodejs/nodejs-debugging