August 6, 2017

Node,js

What is Node.js?
- Node.js enables JavaScript to be used for server-side scripting
- It has an event-driven architecture capable of asynchronous I/O
- It contains a built-in library to allow applications to act as a Web server without software such as Apache HTTP Server or IIS
- It is an open-source, cross-platform JavaScript run-time environment for executing JavaScript code server-side.
- It contains 2 type of modules
- Built in module
- Custom module


Where should we use it? 
It became the best choice in Real Time web

- Node.js works on a non-blocking I/O model that makes it clean and usable, ideal for the data-intensive real-time applications that have to perform in varied environments.
- It is useful for Real time web application like chat, video and audio streaming, uploading files, browser games etc.
-It can Insert, Delete, Select, Update a record in database.

How to implement in .Net project
- install .Node.js setup from site
-Install node.js template for visual studio but we can use other IDE because it uses javascript lang only



No comments: