SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Node.js on Windows Azure




    Shiju Varghese
    http://github.com/shijuvar

            http://weblogs.asp.net/shijuvarghese/   1
About Me
• Technical Architect at Cloud & Mobile COE,
  Marlabs
• Microsoft MVP
• Focus on Cloud and Windows Azure
• Enthusiast on Agile/Lean
• Blogs at http://weblogs.asp.net/shijuvarghese
      shiju.varghese@gmail.com          @shijucv

              http://github.com/shijuvar
                      http://weblogs.asp.net/shijuvarghese/   2
Agenda
• Introduction to Node.js
• Demo on Node.js
• Node.js on Windows Azure




               http://weblogs.asp.net/shijuvarghese/   3
Case Study – LinkedIn iPad App
“On the server side, our entire mobile software
stack is completely built in Node. We use a ton
of technologies at LinkedIn, but for the mobile
server piece, it’s entirely Node-based”
Kiran Prasad,
Director of Engineering,
 Mobile at LinkedIn


                 http://weblogs.asp.net/shijuvarghese/   4
Result - LinkedIn iPad App
“The improvements the team saw were
staggering. They went from running 15 servers
with 15 instances (virtual servers) on each
physical machine, to just four instances that can
handle double the traffic. The capacity estimate
is based on load testing the team has done”
Kiran Prasad,
Director of Engineering,
 Mobile at LinkedIn
Source : http://venturebeat.com/2011/08/16/linkedin-node/

                         http://weblogs.asp.net/shijuvarghese/   5
Who are using Node.js
•   LinkedIn
•   Walmart
•   ebay
•   Yahoo
•   Mozilla
•   Rackspace Cloud



                 http://weblogs.asp.net/shijuvarghese/   6
What is Node.js




  http://weblogs.asp.net/shijuvarghese/   7
Building an HTTP Server in Node.js




           http://weblogs.asp.net/shijuvarghese/   8
What is Node.js




  http://weblogs.asp.net/shijuvarghese/   9
Node.js
• Started in 2009 by Ryan Dahl
• Sponsored by
• Second most popular project
  on GitHub




                http://weblogs.asp.net/shijuvarghese/   10
NPM: Node.js Package Manager
• Package manager for node
• Npm command-line tool ships with Node.js
• Allows you to easily add modules to your
  application
• 11,200 Node modules currently available
• Use through the command line:



               http://weblogs.asp.net/shijuvarghese/   11
Node.js is good for..
•   Real-time, Collaborative Apps
•   JSON based REST APIs
•   Single Page Apps, Client-oriented Web UIs
•   Custom network services
•   Mobile Apps, Next-Gen HTML 5 Apps
•   Network Apps



                  http://weblogs.asp.net/shijuvarghese/   12
Node.js is not good for
• CPU-bound Apps




              http://weblogs.asp.net/shijuvarghese/   13
Node.js on Windows
• Native node.exe
• IISNode (https://github.com/tjanczuk/iisnode)
  – a native IIS 7.x module that allows hosting of
  node.js applications in IIS
• Most Node modules supported as is
• Performance on par with Linux
  implementation


                 http://weblogs.asp.net/shijuvarghese/   14
Windows Azure




  http://weblogs.asp.net/shijuvarghese/   15
 NPM for Windows Azure
                                                 Node.js driver for Sql Server
                                                 Great Support for MongoDB




   Windows Azure PowerShell for Node.js
   Git, TFS, FTP
   Web Matrix
   Cloud9 IDE



                        http://weblogs.asp.net/shijuvarghese/              16
Windows Azure Website
•   Quick provisioning and deployment via FTP,
    Git, TFS, WebDeploy
•   ASP.NET, PHP, or node.js
•   Shared but seamless upgrade to more
    instances, dedicated
•    Manage via portal or cross-platform
     command-line tooling
•   Free (up to 10 websites, shared)
                 http://weblogs.asp.net/shijuvarghese/   17
DEMO
• Hello World Program
• Node.js Web App using Express and Jade
• Deploy Node.js App to Windows Azure Web
  Site




               http://weblogs.asp.net/shijuvarghese/   18
QUESTIONS?
http://weblogs.asp.net/shijuvarghese/   19
Thanks

 Source Code
https://github.com/shijuvar/NodeOnAzure
https://github.com/shijuvar/RESTNode


               http://weblogs.asp.net/shijuvarghese/   20

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (19)

JavaScript in Universal Windows Platform apps
JavaScript in Universal Windows Platform appsJavaScript in Universal Windows Platform apps
JavaScript in Universal Windows Platform apps
 
Introduction to Vue.js DevStaff Meetup 13.02
Introduction to Vue.js  DevStaff Meetup 13.02Introduction to Vue.js  DevStaff Meetup 13.02
Introduction to Vue.js DevStaff Meetup 13.02
 
Алексей Волков "Введение в React Native"
Алексей Волков "Введение в React Native"Алексей Волков "Введение в React Native"
Алексей Волков "Введение в React Native"
 
Unlimited Frameworks
Unlimited FrameworksUnlimited Frameworks
Unlimited Frameworks
 
Introduction to VueJS for begginers with examples | Namspace IT
Introduction to VueJS for begginers with examples | Namspace ITIntroduction to VueJS for begginers with examples | Namspace IT
Introduction to VueJS for begginers with examples | Namspace IT
 
JavaScript MV* Framework - Making the Right Choice
JavaScript MV* Framework - Making the Right ChoiceJavaScript MV* Framework - Making the Right Choice
JavaScript MV* Framework - Making the Right Choice
 
Taking Spring Apps for a Spin on Microsoft Azure Cloud
Taking Spring Apps for a Spin on Microsoft Azure CloudTaking Spring Apps for a Spin on Microsoft Azure Cloud
Taking Spring Apps for a Spin on Microsoft Azure Cloud
 
Breaking the eggshell: From .NET to Node.js
Breaking the eggshell: From .NET to Node.jsBreaking the eggshell: From .NET to Node.js
Breaking the eggshell: From .NET to Node.js
 
[Cordova] Empezando con Ionic
[Cordova] Empezando con Ionic[Cordova] Empezando con Ionic
[Cordova] Empezando con Ionic
 
Oleksandr Skachkov "Running С# in your Web Browser with WebAssembly"
Oleksandr Skachkov "Running С# in your Web Browser with WebAssembly"Oleksandr Skachkov "Running С# in your Web Browser with WebAssembly"
Oleksandr Skachkov "Running С# in your Web Browser with WebAssembly"
 
Beginner's Guide to Angular 2.0
Beginner's Guide to Angular 2.0Beginner's Guide to Angular 2.0
Beginner's Guide to Angular 2.0
 
Leveraging the Power of Custom Elements in Gutenberg
Leveraging the Power of Custom Elements in GutenbergLeveraging the Power of Custom Elements in Gutenberg
Leveraging the Power of Custom Elements in Gutenberg
 
Introduction to Node.js
Introduction to Node.jsIntroduction to Node.js
Introduction to Node.js
 
Appium Introduction
Appium IntroductionAppium Introduction
Appium Introduction
 
Deploy an Asp.Net Core App on Azure
Deploy an Asp.Net Core App on AzureDeploy an Asp.Net Core App on Azure
Deploy an Asp.Net Core App on Azure
 
Unscrambling An Omelette - How Companies Can Use WordPress Better - Jeremy Ke...
Unscrambling An Omelette - How Companies Can Use WordPress Better - Jeremy Ke...Unscrambling An Omelette - How Companies Can Use WordPress Better - Jeremy Ke...
Unscrambling An Omelette - How Companies Can Use WordPress Better - Jeremy Ke...
 
Case study: JBoss Developer Studio, an IDE for Web, Mobile and Cloud applicat...
Case study: JBoss Developer Studio, an IDE for Web, Mobile and Cloud applicat...Case study: JBoss Developer Studio, an IDE for Web, Mobile and Cloud applicat...
Case study: JBoss Developer Studio, an IDE for Web, Mobile and Cloud applicat...
 
Node.js In The Enterprise - A Primer
Node.js In The Enterprise - A PrimerNode.js In The Enterprise - A Primer
Node.js In The Enterprise - A Primer
 
WordPress + Docker - Reusable WordPress development environments
WordPress + Docker - Reusable WordPress development environmentsWordPress + Docker - Reusable WordPress development environments
WordPress + Docker - Reusable WordPress development environments
 

Andere mochten auch (6)

Docker and Kubernetes
Docker and KubernetesDocker and Kubernetes
Docker and Kubernetes
 
A Primer to Containerization & Microservices
A Primer to Containerization & MicroservicesA Primer to Containerization & Microservices
A Primer to Containerization & Microservices
 
Building Scalable Backends with Go
Building Scalable Backends with GoBuilding Scalable Backends with Go
Building Scalable Backends with Go
 
Building RESTful Services With Go and MongoDB
Building RESTful Services With Go and MongoDBBuilding RESTful Services With Go and MongoDB
Building RESTful Services With Go and MongoDB
 
Writing HTTP Middleware In Go
Writing HTTP Middleware In GoWriting HTTP Middleware In Go
Writing HTTP Middleware In Go
 
Proportions In The Real World
Proportions In The Real WorldProportions In The Real World
Proportions In The Real World
 

Ähnlich wie Node on Windows Azure

Azure Bootcamp Louisville - Node js presentation
Azure Bootcamp Louisville - Node js presentationAzure Bootcamp Louisville - Node js presentation
Azure Bootcamp Louisville - Node js presentation
Andrea Walker
 
Node.js.pdf
Node.js.pdfNode.js.pdf
Node.js.pdf
gulfam ali
 
Node.js Web Development .pdf
Node.js Web Development .pdfNode.js Web Development .pdf
Node.js Web Development .pdf
Abanti Aazmin
 

Ähnlich wie Node on Windows Azure (20)

Azure Bootcamp Louisville - Node js presentation
Azure Bootcamp Louisville - Node js presentationAzure Bootcamp Louisville - Node js presentation
Azure Bootcamp Louisville - Node js presentation
 
Node js installation steps.pptx slide share ppts
Node js installation steps.pptx slide share pptsNode js installation steps.pptx slide share ppts
Node js installation steps.pptx slide share ppts
 
An Introduction to Node.js Development with Windows Azure
An Introduction to Node.js Development with Windows AzureAn Introduction to Node.js Development with Windows Azure
An Introduction to Node.js Development with Windows Azure
 
Best Practices for couchDB developers on Microsoft Azure
Best Practices for couchDB developers on Microsoft AzureBest Practices for couchDB developers on Microsoft Azure
Best Practices for couchDB developers on Microsoft Azure
 
Node.js.pdf
Node.js.pdfNode.js.pdf
Node.js.pdf
 
Get acquainted with the new ASP.Net 5
Get acquainted with the new ASP.Net 5Get acquainted with the new ASP.Net 5
Get acquainted with the new ASP.Net 5
 
Node.js Web Development .pdf
Node.js Web Development .pdfNode.js Web Development .pdf
Node.js Web Development .pdf
 
Top 10 frameworks of node js
Top 10 frameworks of node jsTop 10 frameworks of node js
Top 10 frameworks of node js
 
8 Node.js Frameworks Every Developer Should Know [UPDATED].pptx
8 Node.js Frameworks Every Developer Should Know [UPDATED].pptx8 Node.js Frameworks Every Developer Should Know [UPDATED].pptx
8 Node.js Frameworks Every Developer Should Know [UPDATED].pptx
 
All You Need to Know About Using Node.pdf
All You Need to Know About Using Node.pdfAll You Need to Know About Using Node.pdf
All You Need to Know About Using Node.pdf
 
Introduction to node js - From "hello world" to deploying on azure
Introduction to node js - From "hello world" to deploying on azureIntroduction to node js - From "hello world" to deploying on azure
Introduction to node js - From "hello world" to deploying on azure
 
Node.js and .NET Core.pdf
Node.js and .NET Core.pdfNode.js and .NET Core.pdf
Node.js and .NET Core.pdf
 
NodeJS and what is actually does
NodeJS and what is actually doesNodeJS and what is actually does
NodeJS and what is actually does
 
Building APIs with NodeJS on Microsoft Azure Websites - Redmond
Building APIs with NodeJS on Microsoft Azure Websites - RedmondBuilding APIs with NodeJS on Microsoft Azure Websites - Redmond
Building APIs with NodeJS on Microsoft Azure Websites - Redmond
 
Node.js for .NET Developers
Node.js for .NET DevelopersNode.js for .NET Developers
Node.js for .NET Developers
 
Quick introduction to nodeJs
Quick introduction to nodeJsQuick introduction to nodeJs
Quick introduction to nodeJs
 
Introduction to Node.js by Vinothini B
Introduction to Node.js by Vinothini BIntroduction to Node.js by Vinothini B
Introduction to Node.js by Vinothini B
 
Getting Started with Platform-as-a-Service
Getting Started with Platform-as-a-ServiceGetting Started with Platform-as-a-Service
Getting Started with Platform-as-a-Service
 
Node, express & sails
Node, express & sailsNode, express & sails
Node, express & sails
 
Getting Started with PaaS
Getting Started with PaaSGetting Started with PaaS
Getting Started with PaaS
 

Mehr von Shiju Varghese

NoSQL Database in .NET Apps
NoSQL Database in .NET AppsNoSQL Database in .NET Apps
NoSQL Database in .NET Apps
Shiju Varghese
 

Mehr von Shiju Varghese (20)

Building Modern Distributed Applications in Go with Service Weaver
Building Modern Distributed Applications in Go with Service WeaverBuilding Modern Distributed Applications in Go with Service Weaver
Building Modern Distributed Applications in Go with Service Weaver
 
Microservices in Go with Go kit
Microservices in Go with Go kitMicroservices in Go with Go kit
Microservices in Go with Go kit
 
NATS: A Cloud Native Messaging System
NATS: A Cloud Native Messaging SystemNATS: A Cloud Native Messaging System
NATS: A Cloud Native Messaging System
 
Event-Driven Microservices With NATS Streaming
Event-Driven Microservices With NATS StreamingEvent-Driven Microservices With NATS Streaming
Event-Driven Microservices With NATS Streaming
 
Inter-Process Communication in Microservices using gRPC
Inter-Process Communication in Microservices using gRPCInter-Process Communication in Microservices using gRPC
Inter-Process Communication in Microservices using gRPC
 
Building Microservices with gRPC and NATS
Building Microservices with gRPC and NATSBuilding Microservices with gRPC and NATS
Building Microservices with gRPC and NATS
 
Building High Performance APIs In Go Using gRPC And Protocol Buffers
Building High Performance APIs In Go Using gRPC And Protocol BuffersBuilding High Performance APIs In Go Using gRPC And Protocol Buffers
Building High Performance APIs In Go Using gRPC And Protocol Buffers
 
Practicing Mindfulness
Practicing MindfulnessPracticing Mindfulness
Practicing Mindfulness
 
Azure DocumentDB
Azure DocumentDBAzure DocumentDB
Azure DocumentDB
 
Azure Mobile Services .NET Backend
Azure Mobile Services .NET BackendAzure Mobile Services .NET Backend
Azure Mobile Services .NET Backend
 
Windows Azure Mobile Services
Windows Azure Mobile ServicesWindows Azure Mobile Services
Windows Azure Mobile Services
 
JavaScript, Meet Cloud : Node.js on Windows Azure
JavaScript, Meet Cloud : Node.js on Windows AzureJavaScript, Meet Cloud : Node.js on Windows Azure
JavaScript, Meet Cloud : Node.js on Windows Azure
 
Introduction to Node js
Introduction to Node jsIntroduction to Node js
Introduction to Node js
 
Windows Azure Cloud Services
Windows Azure Cloud Services Windows Azure Cloud Services
Windows Azure Cloud Services
 
Windows Azure Webs Sites
Windows Azure Webs SitesWindows Azure Webs Sites
Windows Azure Webs Sites
 
Building Apps with Node.js
Building Apps with Node.jsBuilding Apps with Node.js
Building Apps with Node.js
 
Introducing Razor - A new view engine for ASP.NET
Introducing Razor - A new view engine for ASP.NET Introducing Razor - A new view engine for ASP.NET
Introducing Razor - A new view engine for ASP.NET
 
NoSQL Database in .NET Apps
NoSQL Database in .NET AppsNoSQL Database in .NET Apps
NoSQL Database in .NET Apps
 
TDD with ASP.NET MVC 1.0
TDD with ASP.NET MVC 1.0TDD with ASP.NET MVC 1.0
TDD with ASP.NET MVC 1.0
 
Introduction to ASP.NET MVC 1.0
Introduction to ASP.NET MVC 1.0Introduction to ASP.NET MVC 1.0
Introduction to ASP.NET MVC 1.0
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Node on Windows Azure

  • 1. Node.js on Windows Azure Shiju Varghese http://github.com/shijuvar http://weblogs.asp.net/shijuvarghese/ 1
  • 2. About Me • Technical Architect at Cloud & Mobile COE, Marlabs • Microsoft MVP • Focus on Cloud and Windows Azure • Enthusiast on Agile/Lean • Blogs at http://weblogs.asp.net/shijuvarghese shiju.varghese@gmail.com @shijucv http://github.com/shijuvar http://weblogs.asp.net/shijuvarghese/ 2
  • 3. Agenda • Introduction to Node.js • Demo on Node.js • Node.js on Windows Azure http://weblogs.asp.net/shijuvarghese/ 3
  • 4. Case Study – LinkedIn iPad App “On the server side, our entire mobile software stack is completely built in Node. We use a ton of technologies at LinkedIn, but for the mobile server piece, it’s entirely Node-based” Kiran Prasad, Director of Engineering, Mobile at LinkedIn http://weblogs.asp.net/shijuvarghese/ 4
  • 5. Result - LinkedIn iPad App “The improvements the team saw were staggering. They went from running 15 servers with 15 instances (virtual servers) on each physical machine, to just four instances that can handle double the traffic. The capacity estimate is based on load testing the team has done” Kiran Prasad, Director of Engineering, Mobile at LinkedIn Source : http://venturebeat.com/2011/08/16/linkedin-node/ http://weblogs.asp.net/shijuvarghese/ 5
  • 6. Who are using Node.js • LinkedIn • Walmart • ebay • Yahoo • Mozilla • Rackspace Cloud http://weblogs.asp.net/shijuvarghese/ 6
  • 7. What is Node.js http://weblogs.asp.net/shijuvarghese/ 7
  • 8. Building an HTTP Server in Node.js http://weblogs.asp.net/shijuvarghese/ 8
  • 9. What is Node.js http://weblogs.asp.net/shijuvarghese/ 9
  • 10. Node.js • Started in 2009 by Ryan Dahl • Sponsored by • Second most popular project on GitHub http://weblogs.asp.net/shijuvarghese/ 10
  • 11. NPM: Node.js Package Manager • Package manager for node • Npm command-line tool ships with Node.js • Allows you to easily add modules to your application • 11,200 Node modules currently available • Use through the command line: http://weblogs.asp.net/shijuvarghese/ 11
  • 12. Node.js is good for.. • Real-time, Collaborative Apps • JSON based REST APIs • Single Page Apps, Client-oriented Web UIs • Custom network services • Mobile Apps, Next-Gen HTML 5 Apps • Network Apps http://weblogs.asp.net/shijuvarghese/ 12
  • 13. Node.js is not good for • CPU-bound Apps http://weblogs.asp.net/shijuvarghese/ 13
  • 14. Node.js on Windows • Native node.exe • IISNode (https://github.com/tjanczuk/iisnode) – a native IIS 7.x module that allows hosting of node.js applications in IIS • Most Node modules supported as is • Performance on par with Linux implementation http://weblogs.asp.net/shijuvarghese/ 14
  • 15. Windows Azure http://weblogs.asp.net/shijuvarghese/ 15
  • 16.  NPM for Windows Azure  Node.js driver for Sql Server  Great Support for MongoDB  Windows Azure PowerShell for Node.js  Git, TFS, FTP  Web Matrix  Cloud9 IDE http://weblogs.asp.net/shijuvarghese/ 16
  • 17. Windows Azure Website • Quick provisioning and deployment via FTP, Git, TFS, WebDeploy • ASP.NET, PHP, or node.js • Shared but seamless upgrade to more instances, dedicated • Manage via portal or cross-platform command-line tooling • Free (up to 10 websites, shared) http://weblogs.asp.net/shijuvarghese/ 17
  • 18. DEMO • Hello World Program • Node.js Web App using Express and Jade • Deploy Node.js App to Windows Azure Web Site http://weblogs.asp.net/shijuvarghese/ 18

Hinweis der Redaktion

  1. G