Hosting a webserver on G400D

I thought finding documentation on webserver directly on the support page but it seems that webserver is something related to gadgeeter. :open_mouth: This surprises me, does this mean I had to add gadgeeter library?

@ leforban - There is an HttpListener class under System.Net that you can use. It isn’t as nice as the Gadgeteer version, but it works. I believe the Gadgeteer version wraps it actually.

But why webserver is linked with gadgeeter? This is a common service that should be available as networking stuff…

@ leforban - Why Gadgeteer added a WebServer, I am not sure. You’d have to talk to the Gadgeteer team. NETMF itself does provide a web server class, it just isn’t as easy to use as Gadgeteer’s.

Ok thanks for these informations

It is very easy to convert the Gadgeteer web server source to a standalone MF version. Takes about 10 minutes or less.

let’s go for 10mn :think: