Node.js Tools for visual studio and Azure

Follow ALONG


http://slides.com/doguhanuluca/node-js-tools-for-visual-studio-and-azure/live

or 

http://bit.ly/1qQvQhS

or

http://goo.gl/XYHUod


DOGUHAN ULUCA


Technologist
Senior Consultant at Excella
Contributing Author for DevPro 

Follow: @duluca



WHY NODE?




DO YOU NODE?

Performance


Listens directly to OS connection events

No web server needed

Lightweight

Single threaded

Non-blocking, event-driven I/O

BEST USE CASES


High scalability

High concurrency

Real-time applications

V8

Run on the same engine as Google Chrome

who is using it?


Groupon
SAP
LinkedIn
Microsoft
Yahoo
Walmart
Paypal
Uber
Ebay
And more.




Have you used JavaScript?

aka EcmaScript 5


Synergy


Full stack JavaScript

Easy to learn

Dynamic features allow for better TDD

Community driven

'use strict';

THE FUTURE IS BRIGHT 


Node 11 (or Node.JS v0.11)
EcmaScript 6
KOA

Eliminate callbacks with generators

Like C# async/await & yield functionality

Increased focus on stabilizing 

QUESTIONS?


<HTML NG-APP>    <UL>         <LI NG-REPEAT="QUESTION IN QUESTIONS">             <SPAN>{{QUESTION}}</SPAN>               </LI>     </UL></HTML>
 


One API

ARcHITECTURE

What are you using?


ASP.NET MVC?

Silverlight?

?

SEPARATE CONCERNS


Don't generate pages on the server

Inter-operable back-ends and front-ends

Lower risk

(Does not fit every need)

Modernize YOUR .NET ENvironment


All new services behind RESTful Web APIs

Utilize BizTalk to convert legacy communications

Invest in pure JavaScript front-ends

Standardize CSS (Bootstrap etc.)

(Does not fit every need)

QUESTIONS?


<HTML NG-APP>    <UL>         <LI NG-REPEAT="QUESTION IN QUESTIONS">             <SPAN>{{QUESTION}}</SPAN>               </LI>     </UL></HTML>
 


NODE TOOLS

FOR

VISUAL STUDIO

VISUAL STUDIO 2013



Re-implemented text editor

Pluggable architecture

Web Essentials plug-in

Rapid release cycle

NODE TOOLS


Allows .NET and Node back-end in one solution

Built in NPM GUI

F5 Debugging experience

Remote debugging via Server Explorer

Open Source

Work in progress

GET THE TOOLS






DEMO


Create Node Project in Visual Studio

Debug

Node.js Interactive Window

QUESTIONS?


<HTML NG-APP>    <UL>         <LI NG-REPEAT="QUESTION IN QUESTIONS">             <SPAN>{{QUESTION}}</SPAN>               </LI>     </UL></HTML>
 



NODE ON AZURE

Azure


Fast growing

Technology agnostic

.NET, C#, Java, Node, Python, Linux, Mongo and more

All first class citizens

AZURE


Puppet support

Auto scale

Geo-located around the world

Affordable and reliable



DEMO


Deploy to Azure 

Remote debug

AZURE


10 free sites

Free mobile services

New portal bring VS online



DEMO


Azure Portal

continuous deployment


GitHub as source control

Works best if Node project has flat layout

MongoDB setup doesn't work on new portal

Mongo config can be tricky


DEMO


Azure Setup

Git Push

QUESTIONS?


<HTML NG-APP>    <UL>         <LI NG-REPEAT="QUESTION IN QUESTIONS">             <SPAN>{{QUESTION}}</SPAN>               </LI>     </UL></HTML>
 



THANK YOU

MORE NODE?


Link to slides and code will be posted on 

Check out

Come to 


DOGUHAN ULUCA


Technologist
Senior Consultant at Excella
Contributing Author for DevPro 

Follow: @duluca

Node.js Tools for Visual Studio and Azure

By Doguhan Uluca

Node.js Tools for Visual Studio and Azure

An introduction to Node.JS, it's future and how it can be integrated to existing enterprise solutions by standardizing on RESTful APIs. Introducing Node.JS Tools for Visual Studio, which makes it easy to start using Node in an existing .NET environment. Continuing the discussion with the benefits of using Microsoft Azure and ease of deploying a Node server on Azure.

  • 3,417