Node on Windows and Azure

This course provides an overview of using Node to access cloud resources as well as to build web applications that run in Windows and the Azure cloud.
Course info
Rating
(45)
Level
Intermediate
Updated
Aug 21, 2012
Duration
3h 24m
Table of contents
An Introduction to Node on Windows
Accessing Azure Storage with Node
Advanced Azure Storage with Node
Integrating with Azure ServiceBus in Node
Deploying to Azure via the Command Line
Building and Deploying a Node Application with WebMatrix
Description
Course info
Rating
(45)
Level
Intermediate
Updated
Aug 21, 2012
Duration
3h 24m
Description

This course starts by running Node in an on-premises Windows environment. We then leverage cloud storage in Node: everything from basic queue, table and blob storage to advanced application logging and session management. We also integrate Node with Azure ServiceBus Queues, Topics and Subscriptions. Finally, we review how to deploy web applications to the Azure cloud both via the command line as well as using WebMatrix.

About the author
About the author

An Enterprise Architect by day and an open-source contributor by night, Paul has more than 19 years in the Information Technology industry spanning academic, start-up and enterprise environments.

More from the author
Cassandra for Developers
Intermediate
3h 27m
Aug 12, 2015
More courses by Paul O'Fallon
Section Introduction Transcripts
Section Introduction Transcripts

An Introduction to Node on Windows
Hello. My name is Paul O'Fallon and I would like to welcome you to the first module in the -- Hello. My name is Paul O'Fallon and I would like to welcome you to the first module in the course Node on Windows and Azure. This first module is entitled An Introduction to Node on Windows. In this module we'll be covering three topics: first, we will take a look at setting up your environment by downloading and installing the necessary software; next, we will discuss running Node as a Windows Service; and lastly we will take a look at Integrating Node with IIS. So let's get started.

Accessing Azure Storage with Node
Hello, my name is Paul O'Fallon. And I'd like to welcome you to the second module in the course Node on Windows and Azure. This module is entitled Accessing Azure Storage with Node. First, we'll briefly you get your ready to follow along with the samples in this module. Then we'll learn how to access Azure Table Storage in Node. Next, we'll touch on Azure Queue Storage and then move on to Blob Storage. And we'll wrap up with the discussion on Retries and Continuations. Before we dive in, let's be sure our environment is ready. There are only two things to do here. First, you need to start the Azure storage emulator. They should have come with the Windows Azure SDK for node JS that you installed in the first module. If you haven't installed that yet, you'll want to stop here and do that first. The second step is to pick a directory for your samples and run MBM install Azure from the command line in that directory. This one install the Azure Node SDK which contains the APIs we're going to cover in this module.

Advanced Azure Storage with Node
Hello, my name is Paul O'Fallon and I'd like to welcome you to the third module in the course Node on Windows and Azure. This module is entitled Advanced Azure Storage with Node. First we'll introduce the BlueSky API, which is an alternative method for accessing Azure storage. Then we'll learn how to use Azure Tables to manage Express JS web sessions. Finally we'll learn how to use Winston to log application data to Azure Tables. I should point out up front that the Node modules we're going to cover here were written by yours truly. So, if you hear a bit of a proud father come through you'll know why. Let's get started.

Integrating with Azure ServiceBus in Node
Hello. My name is Paul O' Fallon and I'd like to welcome you to the fourth module in the course Node on Windows and Azure. This module is entitled "Integrating with Azure Service Bus in Node. " First, we'll discuss how to use Service Bus queues in Node. Then, we'll discuss topics and subscriptions. We'll round out the module by leveraging Service Bus subscription rules. Because there is no local development emulator for Azure Service Bus, all of our examples will run directly against the cloud. If you don' already have a service name space, you'll need to create one using the Azure portal. The name space and access key are configured in Node by setting two environment variables; Azure Service Bus Name Space and Azure Service Bus Access Key. You'll see these show up in all of our samples. With that taken care of, let's get started.

Deploying to Azure via the Command Line
Hello. My name is Paul O'Fallon and I'd like to welcome you to the course node on Windows and Azure. This module is entitled "Deploying to Azure Via the Command Line. " Thus far in our course, we have focused on accessing Azure resources from Node. Now we will shift to deploying Node applications to the Azure cloud. To begin, we'll get our system ready by installing all of the necessary prerequisites. Then we'll look at how to manage our account settings using the Azure command line tool. Once those settings are in place, we'll discuss deploying and managing Node applications from the command line using Azure and Git. We'll wrap up by looking at some additional features offered by the Azure tool. Let's get started. There are two main prerequisites that you need to install in order to follow along with this module. The first is the MPM Azure Module. We've used this quite a bit already but this time when you install it from MPM, you'll want to be sure to include the dash g flag. This installs the module globally and will give you access to the Azure command line tool that comes with this module. Next, you'll need to install Git for Windows which you can download from this link. Most of the default install choices should be fine, but in order to follow along with exactly what we're going to cover, you'll want to have the ability to run Git from the Windows command prompt.

Building and Deploying a Node Application with WebMatrix
Hello, my name is Paul O'Fallon and I'd like to welcome you to the course Node on Windows and Azure. This module is entitled "Building and Deploying a Node Application With Web Matrix. " First, we'll get our system ready by downloading and installing WebMatrix. Then, we'll look at a Portal-centric approach to using WebMatrix to build and deploy a Node app to Windows Azure. Then, we'll look at a different WebMatrix centric approach. We'll wrap up with an overview of how to scale a Node application deployed as a Windows Azure web site. Let's get started. The first thing we'll need to do is to download and install WebMatrix two. Now at the time of the recording WebMatrix 2 is available as a release candidate from the URLs shown here. When you click the Free Download button, the web platform installer will start and download and install the necessary components. When the installer is complete, you should see a screen similar to this one. If you have trouble installing WebMatrix, you may need to uninstall any previous versions and try again. Now that we have the tools installs we're ready to build and deploy our first Node web app.