Developing Windows 10 IoT applications with node. js

Source: Internet
Author: User
Tags windows insider

(This article also published in my public number "dotnet daily Essence article", Welcome to the right QR code to pay attention to. )

Over the next 10 years, the Internet of things will be as deep as the mobile web into all sides of our lives. So Microsoft is now investing heavily in the internet of things, such as Windows 10, which has a separate IoT version. And today's recommended article is to show you how to bring node. JS Development to Windows IoT.

At the early month Build conference, Microsoft released the Windows IoT Core Insider Preview, which can be installed on Raspberry Pi 2 (Raspberry Pi 2) and Intel's Minnowboard max. And there was also a speech about how to use node. js to develop an IoT solution for Windows IoT core. Today's article explains its background and the entire development process in detail.

Before node. JS didn't run on Windows WoA, Microsoft now integrates the Chakra JavaScript engine into Windows 10 and is optimized for WoA devices. so that node. js becomes one of the preferred languages for developing universal Windows Platform (UWP) (the so-called UWP, which can be run on PCs, tablets, mobile phones, XBox, HoloLens, IoT devices, just by writing a compilation once). To use node. js to develop applications for Windows IoT, you need to complete the following preparation steps:

    • Install Windows IoT Core on your device
    • Install Windows Insider Preview and Visual Studio RC on your PC
    • Install Ntvs 1.1 Beta (node. js Tools for VS) and Ntvs IoT Extension Beta
    • Connect to the device using PowerShell

Once you're ready, it's a breeze to develop a UWP application. Because Ntvs IoT Extension Beta provides you with a series of project templates to easily write code in VS 2015.

Microsoft has also prepared a NPM package called UWP for node. js to give you access to some of the UWP's APIs (that is, accessing the device's APIs). Microsoft has provided a sample Blinky (via a browser-controlled LED display on the device) to demonstrate how to access the UWP API. Debugging for node. JS is also supported in VS 2015.

Of course, the platform is still being perfected, and it is believed that the front-end developers will be able to easily develop IoT applications when Windows 10 is officially released. You can "read the original" to learn more about the content (especially many external links).

Original link: http://blogs.windows.com/buildingapps/2015/05/12/bringing-node-js-to-windows-10-iot-core/

Developing Windows 10 IoT applications with node. js

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.