Azure Websites: Deploy Node.js website using Visual Studio

To develop Node.js website using Visual Studio download Node.js toolkit from Codeplex site. Here is the link - https://nodejstools.codeplex.com/

If you open Visual Studio you will Node.js templates, you can take your pick and write your Node.js website.

I will be deploying a very simple Node.js website from Visual Studio 2013. (Download the Azure SDK!)

To deploy open VS 2013 and right click on your project name. You will see an option - Publish. Click on that and a small windows will open up which may prompt you to sign in through you Azure account. If you are already signed in you can skip this step, sometime it may ask you to just fill in your password. After signing it, you can see a drop down which lists all your currently available websites and an option next to it "New". So to deploy your website you can either pick a website that you have already created from the dropdown or go ahead and create a new on right from this window. I am going to select an already created website. and hit next, next, next and publish.  

Once Published, you can see the link of your website right in the visual studio. Ctrl +Click and your website open up in VS! That's all. :)

Comments

  • Anonymous
    April 17, 2015
    Hi I am getting followinf output:

    ------ Build started: Project: dibeatit, Configuration: Release Any CPU ------
    ------ Publish started: Project: dibeatit, Configuration: Release Any CPU ------
    Error: InvalidParameter
    Parameter name: index
    ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
    ========== Publish: 0 succeeded, 0 failed, 0 skipped ==========


    can you help fix this error?