ASP.NET core JavaScriptServices

When .Net core meets nodejs and server side pre rendering: Microsoft ASP.NET Core JavaScript Services

Start a new project with:

npm install -g yo generator-aspnetcore-spa

More details here: Using ASP.NET Core Javascript Services to Play Nice with Client-side Frameworks or A Real-World React.js Setup for ASP.NET Core and MVC5.

Advertisements

JsRT API (JavaScript Runtime Hosting) and Windows 10/Edge

JsRT API have been improved for Windows 10/Edge (JavaScript Runtime Hosting).

Based on this new capabilities, Microsoft has started a port of node.js from V8 engine to Chakra engine (Bringing Node.js to Windows 10 IoT Core). For experimental purpose, this port use Chakra Shim, a bridge between node and chakra exporting V8 API  (chakrashim/include/v8.h) but ultimate goal is to provide a neutral javascript engine interface that can be implemented by any engine.

There is also some preliminary samples on how to integrate either chakra or node with chakra into Win32 or UWP Apps: Using Chakra for Scripting Applications across Windows 10.

 

 

Node Streams: the easy way

How to compose streams with pipe function: Node Streams are Awesome. This is where node.js is really awesome: doing complex thing the easy way.

EDIT: Another article about node’s streams and particularly pipe: Solving Coding Challenges with Streams which use a succession of Stream.Transform derived classes to convert kind of data along pipe flow. Using local variable, it’s trivial to aggregate multiple subsequent input data into output one.

Atom a sign of GUI’s futur and a powerfull editor

From blog.atom.io:

“Atom is a specialized variant of Chromium designed to be a text editor rather than a web browser. Every Atom window is essentially a locally-rendered web page.

All the APIs available to a typical Node.js application are also available to the code running in each window’s JavaScript context. This hybrid provides a really unique client-side development experience.”

Html5 flexibility binded to mative: it’s here Atom with module here https://github.com/atom.