Search
Monday 23 October 2017
  • :
  • :

IOT Templates for Windows 10 Core Projects-Channel 9

IOT Templates for Windows 10 Core Projects-Channel 9

Channel 9 on the MSDN website is full of great ideas and tips and tricks.  The latest is within the Tech trend of IoT & Windows 10 Core!  Develop: Better and Faster!

Rapidly prototype and build your Windows IoT solutions on a variety of devices running Windows 10 IoT Core. Windows 10 gives you powerful tools that let you develop fast and deploy to your device.

Leverage the power of open frameworks like Connect-the-Dots to help connect your devices to Microsoft Azure. Microsoft Azure allows you to implement great solutions by leveraging advanced analytics services.

Being able to connect with the full maker community and other makers to share code and make contributions through GitHub. Join the community to influence future releases of the SDK.

The last post in our Template Week takes us to IoT and Windows 10 IoT Core (I know, funny that!)

The best part of these Project templates is that they are NOT just C# templates, but VB, C++ and even JavaScript…

Get the Templates;

Windows IoT Core Project Templates for VS 2017

This package contains project templates for Windows IoT Core Applications

The Windows IoT Core Project Templates enables development for Windows IoT Core devices (such as Raspberry Pi 2 & 3, Minnowboard Max, and DragonBoard 410c) using Visual Studio 2017.

For more information about Windows 10 IoT Core, visit www.windowsondevices.com.

For more information about building applications using these templates, visit https://developer.microsoft.com/en-us/windows/iot/docs/buildingappsforiotcore.

Universal Windows Platform (UWP) templates are provided to enable headless Background Applications for these supported languages:

C#, Visual Basic, C++, JavaScript, C++ Console, Arduino Wiring Project

… [Get the VS 2017 Templates Here]

Here’s some more information about IoT application types and supported Languages;

Supported Programming Languages and App Types

Learn about the languages that are supported on Windows 10 IoT Core as well as the UWP and non-UWP app types that are supported on IoT Core.+

Application Types

Universal Windows Platform (UWP) Apps …
Traditional UWP Apps …
Background Apps …
Non-UWP Apps …

Programming Languages

IoT Core supports a wide range of programming languages.+

In-Box languages

Traditional UWP languages ship with support in Visual Studio by default. All of the In-Box languages support both UI and Background Applications+

  • Languages
    • C#
    • C++
    • Javascript
    • Visual Basic

IoT Focused Languages

The IoT targeted languages require the download of the “Windows IoT Core Project Templates” from the Visual Studio Tools->Extensions and Updates manager. The IoT Focused languages support only Background Applications. You can also build Windows Runtime Components using C#, C++, or Visual Basic and then reference those libraries from any other language (except Python).+

  • Languages
    • Arduino Wiring
    • Node.js
    • Python

C# and Visual Basic (VB)

C# and VB are both supported as UWP apps and have access to the portion of the .Net Framework available to UWP applications. They support UI apps built with Xaml as well as Background Apps. You can also build Windows Runtime Components that can be used from other supported languages.

 

Javascript

You can use Javascript to build both UI and Background Apps. The UI apps work the same way they do on all UWP editions. The Background Apps are new for IoT Core but are very simple. The following sample code shows the output of a the JS New Project template:  

// The Background Application template is documented at http://go.microsoft.com/fwlink/?LinkID=533884&clcid=0x409
(function () {
“use strict”;

// TODO: Insert code here for the startup task

})();

C++

With C++ you can build Xaml or DirectX UI apps, as well as UWP Background projects and non-UI Win32 apps.

 

 

Node.js

With IoT Core’s Node.js supports you can build your Background Apps using this popular language and many of its popular libraries and frameworks. There are a variety of Node.js samples avialable on our github site, but the samples below will give you a great introduction.

Python

IoT Core also supports building Background Apps with Python. Support for the python languages and libaries is fully there, but the python language itself does not support calling UWP APIs and so we provide python libraries to call into critical platform features like GPIO, I2C, PWM, …




Leave a Reply

Your email address will not be published. Required fields are marked *