Getting started with node.js

Download this episode

Download Video


Benjamin Pasero does a quick walkthrough on how to use node.js and express on your Windows Azure Web Site using Visual Studio Online "Monaco"



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      This is good!

      A new starter on node/express can't see this and work out, since source-code is not provided. How to create that express app on root?

    • User profile image

      >How to create that express app on root?
      1) Switch to the git viewlet and clone the following git repository:
      2)Switch to the console and run
      npm install
      3) Select the Run action

    • User profile image

      Where do I find node.d.ts?

      I found it: Bu this is not for the last version of Node. But I don't know if this is a problem.


    • User profile image

      @dag I suggest to check out the Definitely Typed project. It is a great source for TypeScript type definitions for libraries. Among many others there are type definitions for node, express, etc. Here is the node:


    • User profile image

      Is there some documentation on that intellisense in javascript files from *.d.ts files feature? Like can the path to the *.d.ts files be something other than "/.references"? Also, it appears that the definition files need to be direct children of that folder and can't be in subfolders within it.

    • User profile image

      @stevebak: The .references-folder is just a shorthand for not having to include references in all files. Still, you are free to additionally or only use ///-references in your files, e.g. /// <reference path="node.d.ts" />; those paths are always resolved relative to the file they are in.

      Also, please note that with the next release of VSO Monaco we will support _references.ts files, instead of the .references-folder. These files are supposed to have ///-references only and are automatically added as dependency to sibling and descendent files.

    • User profile image

      @jrieken:Thanks! (and sorry for this late reply)

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.