GithubHelp home page GithubHelp logo

gpeipman / windows10iotwebcontrol Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 539 KB

Windows 10 IoT Core background task that is controllable through ASP.NET Core web application on same board.

Home Page: http://gunnarpeipman.com/2017/12/aspnet-core-windows-iot/

C# 96.48% CSS 3.35% JavaScript 0.17%
aspnetcore windows10iotcore websocket localhost

windows10iotwebcontrol's Introduction

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.

windows10iotwebcontrol's People

Contributors

gpeipman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

windows10iotwebcontrol's Issues

WebSocketsBackgroundTask_TemporaryKey

Hi @gpeipman

I'm new to this :-)
How do I resolve the WebSocketsBackgroundTask_TemporaryKey error?

Can I also develop this project using Raspberry Pi 3B with Windows IoT Core?

Severity Code Description Project File Line Suppression State
Warning Certificate file 'WebSocketsBackgroundTask_TemporaryKey.pfx' not found. WebSocketsBackgroundTask

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.