At the Learn Windows Azure event, Scott Guthrie announced we’re providing a place in the cloud for Windows Node developers in Windows Azure. Not only that but we’re also making it easy for folks building Node.js applications hosted ANYWHERE to take advantage of Windows Azure services like storage. Along with that announcement, we’ve published a new developer center for Node.js developers and released an early preview of our new Windows Azure SDK for Node.js. And guess what, we’ve released the source to Github and it is under an Apache 2 license. Yes folks it’s open source, start submitting your pull requests! This also means you’ll be seeing frequent updates to the source so you can get the latest and greatest.
The new SDK makes it easy for developers to build, deploy and manage Node applications hosted in Windows Azure using a set of new PowerShell cmdlets! Watch this great short video from Steve Marx to see how to use the cmdlets. The experience fully supports the Windows Azure storage and compute emulator allowing you to easily test your apps locally. If you are a node developer we know you prefer your tools of choice. Having PowerShell cmdlets gives you the flexibility to use whatever editor / tools you want to develop, whether it be Sublime Text, Emacs, Vim or even notepad (no we’re not recommending you develop with notepad, but you have the flexibility to if you wanted to :-) ). The installer gets you going from 0 (Node.js not installed) to 60 (deploying to the cloud) in minutes. It uses the Web Platform Installer to install everything you need including Node.js, npm, iisnode, the Windows Azure Emulators, and the cmdlets.
In addition to the tools, we’ve also published the azure npm package! Today it contains Node APIS allowing you to use Windows Azure Storage Queues, Tables and Blob storage from whether you are running in Windows Azure or not! Check out this very cool video from Nathan Totten showing him building an app using the APIS in 4 minutes and to some funky beats! npm install azure to get started! The module includes several samples in the examples folder and unit tests.
Charles Torre of Channel 9 and I sat down to talk about the work we are doing a few weeks ago which you can listen to below.
Get started by downloading the SDK here.
Here’s a few more links including several walkthroughs.
- Learn Windows Azure videos – Videos from the live launch event.
- Node.js developer center – Overview, Tutorials, How-To and Tasks
- Tutorial: Building a basic express web application – Takes you from start to finish (including installation / signup etc) in building a simple hello world using express, using the emulator and deploying to Windows Azure.
- Tutorial: Building an express application that uses storage – Build a task list application that uses Windows Azure storage via the new azure module.
- Node.js/express blog on Azure in 5 minutes – Yavor shows you how to take the express blog sample and quickly deploy it to Windows Azure.
This is just the beginning of the work we are doing to provide a great story for Node.js in the cloud. It is a great time to be developing applications on Windows and Windows Azure!