Windows 10 IoT Core background task that is controllable through ASP.NET Core web application on same board.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Windows10IoTWebControl
.gitignore
README.md

README.md

Windows10IoTWebControl

Until ASP.NET Core cannot be hosted under Windows 10 IoT background task we need some other way to control background services through web interfaces. As SignalR is not working yet on Windows 10 IoT Core we cannot also use SignalR clients. The only working option I found was using WebSocket directly.

The solution contains two projects that I hosted on my Raspberry:

  1. WebSocketsWebApp - web application hosted on Raspberry and run automatically when system starts.
  2. WebSocketsBackgroundTask - simple Windows 10 IoT Core background task that sends random numbers to web application using WebSocket and reads commands inserted through browser (displayed in debug window).

Getting all this stuff work was a little bit tricky. Here are some support materials that may help those who want to try it out:

Please consider this solution temporary until SignalR client for ASP.NET Core is usable and works stable on Windows 10 IoT Core.