I wanted to create a Node.js cloud application for Windows Azure platform. Current support is limited to PowerShell based user experience for creating and publishing a Node.js cloud app to Windows Azure. See the Node.js application creation tutorial.
I ran into the issue where the publish PowerShell command-let, Get-AzureSettings, failed. I already had 10 management certificates for my Windows Azure subscription and it appears that the command-let tries to create a new certificate for generating the publishsettings file. This is weird since I already have a management certificate for uploading packages via Visual Studio.
I didn’t have any unneeded certificates that I could delete. So, this was clearly a blocker for me and pushed me to look for a Visual Studio based solution. Visual Studio already supports cloud apps creation and publishing (without requiring creation of additional certificates). It seemed that there should be an easy hookup for supporting Node.js. Apparently, it was not super easy and straightforward, however after jumping through a few hoops, I managed to get Visual Studio create the Node.js application package. I was able to test the application package in DevFabric as well as publish the app to the Cloud. I hope you find this information useful.
Ensure that you have the following prerequisites installed on the computer:
I used the following development environment:
<ItemGroup> <Content Include="bin\node.exe" /> <Content Include="bin\vcredist_x64.exe" /> <Content Include="bin\iisnode.msi" /> <Content Include="bin\setup_web.cmd" /> </ItemGroup>
Copyright (C) 2011 Vikas Tyagi. All rights reserved.