Michel
Michel

Reputation: 23605

Webserver on windows 10 IOT?

Can I create a webapplication on my windows 10 IOT running device (R-PI 3)?

On other PI's I've got Debian running with LightHttpd, but I can't seem to find anything on a webserver on Win10 IOT device.

I did see some examples on self creating a -very simple- webserver (ie listening on a port) but there should be more than that?

PS I added 2 tages: Windows IOT and Windows-10-IOT-Core.... are these the same?

Upvotes: 1

Views: 7452

Answers (2)

FunkyLobster27
FunkyLobster27

Reputation: 41

There are a couple of ways to do this that I've come across which might interest you:

1) As you suggest, it is very simple as you suggest to write you're own server app or app service that listens on a port and responds. Here is a decent example which was easy to follow and implement:

https://sandervandevelde.wordpress.com/2016/04/08/building-a-windows-10-iot-core-background-webserver/

2) Also, it is possible to develop a plugin for Windows Device Portal (WDP) by following the instructions here:

https://learn.microsoft.com/en-us/archive/msdn-magazine/2017/october/windows-device-portal-write-a-windows-device-portal-packaged-plug-in

I have tried this and it works very nicely. It demonstrates how to serve static content and dynamic content either from the foreground or a background task.

Upvotes: 0

Rita Han
Rita Han

Reputation: 9700

Can I create a webapplication on my windows 10 IOT running device (R-PI 3)?

Yes, you can start with Hello blinky official sample. There are also Python and Node.js supported.

Using ASP.NET, you can publish Web Application on Windows IoT core. (Note the version of ASP.NET, more detailed information is here.)

And, restup is a HTTP server for universal windows platform (UWP) apps that can run on Raspberry Pi with Windows IoT core.

PS I added 2 tages: Windows IOT and Windows-10-IOT-Core.... are these the same?

Windows IoT core is an edition of Windows 10 differs from desktop and mobile editions. It is optimized for smaller devices with limited resources, such as Raspberry Pi 2 and 3.

Window IoT is something about Internet of Things you can create with Windows.

For tags in SO, "Windows IoT core" and "Window IoT" have identical function.

Upvotes: 5

Related Questions