Tagged: Node.js

0

JumpStart # 36– Access IIS Express Localhost URL outside development machine on any other Remote device within same Network

In this short Jumpstart, I am going to show on how to access IIS Express (Visual Studio Development Server) Localhost URL outside the development machine on any other device which is connected to the same network as of Development machine. This would help us in saving lot of time in testing the application on different devices with different form factors. We often use emulators to test the behavior of our application, though this approach would give prospective results, one cannot trust emulators with 100% confidence (take an example of File upload). If there was a way to directly access the application (without hosting it, directly from development server) on the remote devise of interest, we can test and be confident about application usage.

0

Node.js Async Module–Auto and Parallel

Async module in Node.js provide a way to structure and organize our JavaScript Asynchronous callbacks code. In traditional coding practice, we nest multiple callbacks in the same function, that creates lot of confusion in code readability and maintainability. Async Module addresses the afore said problem by providing powerful functions through which we can get different combinations of Async and Sync operations.

4

Node.js Async Module–Waterfall and Series

Async module in Node.js provide a way to structure and organize our JavaScript Asynchronous callbacks code. In traditional coding practice, we nest multiple callbacks in the same function, that creates lot of confusion in code readability and maintainability. Async Module addresses the afore said problem by providing powerful functions through which we can get different combinations of Async and Sync operations.

0

JumpStart # 35– Prevent Visual Studio Node.js Console closing immediately after execution

In this JumpStart I am going to show how to prevent closing of Visual Studio’s Node.js console window immediately after execution. When we create a blank Node.js Console application in Visual studio and run the application (either by clicking Start button or by pressing F5), app.js will execute and results will be printed, but the console will not wait by default for programmer to check results. This is the same default behavior as of C# console application, where we can by-pass it by using a simple Console.ReadLine() statement. But in Node.js project, we have other simple options which are discussed in this JumpStart.

2

Simple CRUD JSON Server using Node.js

First lets get started by understanding what is Node.js. In simple terms, Node.js is a server side JavaScript technology. One can write a full server program (just like what we do in ASP.Net, PHP, JSP etc.,) and can host it on any platform on interest. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications. Node.js is primarily used to build fast, scalable network applications.