Microsoft Azure Open Source Development Support Team Blog

Support for Open Source Technologies on Microsoft Azure App Service

How to set node version for Windows node.js webapp from Azure Portal

Create the Azure WebApp Create new WebApp using Azure portal   Set the App name, Resource Group and click “Create”   Wait for deployment to succeed and then click on Application Settings for the new Webapp. Add a new setting with App Setting Name “WEBSITE_NODE_DEFAULT_VERSION” and Value “8.9.4” and click Save. If you would like… Read more

Debugging Node.js applications on Azure App Services Linux/containers

  This is the continuation of the earlier post where I had explained how to enable logging for node applications on App Service Windows.  In this blog, you will learn how to debug the node.js applications that are hosted on Azure App Service Linux / Azure webapp for containers. Enabling logs on linux offerings of… Read more

Nodejs App Performance Tweaks – Azure App Services (Windows)

Node.js is a JavaScript runtime built on Chrome’s V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. At some point of your application lifecycle you might end-up with performance issue in any web application. This blog would help you fix such issue on nodejs app hosted in Azure… Read more

Meteor 1.4 App on Azure App Services

Meteor is a full-stack JavaScript platform for developing modern web and mobile applications. Meteor includes a key set of technologies for building connected-client reactive applications, a build tool, and a curated set of packages from the Nodejs and general JavaScript community. This Blog would help you create a sample meteor app in local environment and… Read more

Run NPM, Bower, Composer, Gulp & Grunt In Azure App Services During Deployment

Azure Source Control deployment process would involve below steps Moves content to azure web app Creates default deployment script, if there is no .deployment file in web app root folder Run’s deployment script. In case of a nodejs app it would do npm install here At Step 2, Instead of deployment process creating a default… Read more

Query strings exceed 1,024 characters using OAuth 2.0/AD with Node.js Azure Web Apps

If you are implementing OAuth 2.0 protocol with Active Directory, you need to consider that Access tokens responses can increase to more than 1024 characters in some scenarios and you can get http 404.15 errors {Query String Too Long }, by default Azure Web Apps have a limit on Query String length, you can modify this limit with… Read more

NodeJs and NPM versions on Azure App Services

NodeJs is a JavaScript runtime built on Chrome’s V8 JavaScript engine. NodeJs uses an event-driven, non-blocking I/O model that makes it lightweight and efficient NPM is the package manager for JavaScript. How to find the NodeJs version’s that azure web app supports Navigate to kudu console (http://<sitename>.scm.azurewebsites.net) and click cmd in Debug Console Click on disk image and… Read more

Sample Nodejs App on Azure App services

Create a azure webapp Browse to Kudu In your favorite Microsoft browser, surf to http://<sitename>.scm.azurewebsites.net. Ex: if your Azure App Service Web App name is “example”, then surf to http://example.scm.azurewebsite.net Once there, you will see the interface below: Click ‘Debug Console’ and select ‘CMD’ Traverse to wwwroot folder Create app.js file and enter below content: >… Read more