node.js for .net devs

15
Consulting/Training Node.js for .NET Developers

Upload: josh-lane

Post on 20-Jul-2015

98 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Node.js for .NET Devs

Consulting/Training

Node.js for .NET Developers

Page 2: Node.js for .NET Devs

Consulting/Training

consulting

Wintellect helps you build better software,

faster, tackling the tough projects and solving

the software and technology questions that

help you transform your business.

Architecture, Analysis and Design

Full lifecycle software development

Debugging and Performance tuning

Database design and development

training

Wintellect's courses are written and taught by

some of the biggest and most respected names

in the Microsoft programming industry.

Learn from the best. Access the same

training Microsoft’s developers enjoy

Real world knowledge and solutions on

both current and cutting edge

technologies

Flexibility in training options – onsite,

virtual, on demand

Wintellect is the only company that offers the combined value of world class consulting services

along with onsite, virtual and on-demand developer training. We help companies build better

software, faster, helping you maximize and protect your consulting and training investments

through ongoing knowledge transfer.

who we are

About Wintellect

Page 3: Node.js for .NET Devs

Consulting/Training

Why are we here?

node.js from a .NET dev’s POV

What?

Why?

How?

Dogs and cats, mass hysteria, etc.

Page 4: Node.js for .NET Devs

Consulting/Training

A host for running JavaScript code beyond the browser

Typical usage - fast, scalable, async web server

node.exe - command line host for Chrome’s V8

JavaScript engine

npm – package manager for useful libraries (“NuGet for

node”)

web frameworks, view engines, data access, file system, etc.

express, async, mongoose, socket.io, etc.

What is node?

Page 5: Node.js for .NET Devs

Consulting/Training

“Node is single-threaded”

Yeah… no

“Everything in node is asynchronous”

Um… sometimes?

Node uses a different processing model than .NET

Both do async I/O

Both are fast

Node tends to consume less memory per request

Threads and asynchrony and stuff

Page 6: Node.js for .NET Devs

Consulting/Training

Page 7: Node.js for .NET Devs

Consulting/Training

Page 8: Node.js for .NET Devs

Consulting/Training

Node.js .NET

Hosting model Self-hosted EXE Typically IIS

Threading model None TPL, PLINQ, etc.

Scalability model By process By thread, then by process

Accompanying

“ceremony”Relatively low Relatively high (see: vNext)

Node vs. .NET

Page 9: Node.js for .NET Devs

Consulting/Training

Hello Node!

Page 10: Node.js for .NET Devs

Consulting/Training

Not a single stack/approach/pattern

No official governing body

No single set of best practices

Usage still maturing

Nature of open source

MEAN

Opinionated framework for full-stack web development

MongoDB, Express, AngularJS, Node

Node - The Ecosystem

Page 11: Node.js for .NET Devs

Consulting/Training

Lightweight

Fast

Scalable

Simple but powerful programming model

Opt-in, extensive modularity via npm

JavaScript top-to-bottom

Why node?

Page 12: Node.js for .NET Devs

Consulting/Training

iisnode – the best of IIS and node, together

httpsys – replace node’s native HTTP pipeline (Windows only)

Node.js Tools for Visual Studio

edge.js – node/.NET interop, in the same process

Azure integration

Web Sites

Cloud Services

Mobile Services

node.js modules

OWIN and ASP.NET vNext

.NET + node… together?

Page 13: Node.js for .NET Devs

Consulting/Training

node + VS.NET + edge.js

Page 14: Node.js for .NET Devs

Individuals | Businesses | Enterprise Organizations

Authors Enjoy:

Royalty Income

Personal Branding

Cross-Sell Opps

Free library access

Try it freeCode:

Subscribers Enjoy:

Expert Instructors

Quality Content

Practical Application

All Devices

WintellectNOW.com

Wintellect’s On-Demand

Video Training Solution

LANE-13

Page 15: Node.js for .NET Devs

Consulting/Training

Questions?