[Raspberry Pi 2] Create C# Background Application for Windows 10 IoT Core

18
Comments
[Raspberry Pi 2] Create C# Background Application for Windows 10 IoT Core

In this article,  we will see how to create simple Web Server for Raspberry Pi 2 running Windows 10 IoT Core. Because it is a Web Server we don't need UI for this application, we can run it in headless mode. Open Visual Studio 2015 RC and create Windows IoT Core Background Application solution. Now we need a web server. This will be simple one. It will always response with "Hello, World!" string. internal class WebServer { private const uint BufferSize = 8192; public void Start() { StreamSocketL...

Read further...

[Raspberry Pi 2] Enable Headless Mode on Windows 10 IoT Core

0
Comments
[Raspberry Pi 2] Enable Headless Mode on Windows 10 IoT Core

If you want to run your application as a service (without UI) on Windows 10 IoT Core you first need to switch your device to the headless mode. First, let's connect to your Raspberry Pi 2 with a Power Shell, so then we can execute commands remotely on the device. Run PowerShell as an Administrator Start WinRM service to enable remote connections: net start WinRM Add your Raspberry Pi 2 in a trusted device list: Set-Item WSMan:\localhost\Client\TrustedHosts -Value <IP Address> Disable psrea...

Read further...