null511
Posts: 6
Joined: Thu Oct 05, 2017 7:19 pm

PiServerLite - Lightweight C# HTTP Server

Thu Oct 05, 2017 8:52 pm

PiServer Lite
A very lightweight HTTP server for the Raspberry Pi using C# and Mono; for adding a web interface or HTTP-API to your device.

Design:
I wanted to create an application using C# that runs on the Raspberry Pi and provides an HTTP accessible interface. I did not want to use ASP, IIS, or Razor since the interface will receive limited use and I wanted to keep the application small. I'm hoping to receive community feedback and make improvements based on requests/suggestions.

On GitHub:
https://github.com/null511/PiServerLite

On NuGet:
https://www.nuget.org/packages/PiServerLite/

What it can do:
  • Serve static & dynamic content over HTTP(S).
  • Provide a web interface for controlling/monitoring your Raspberry Pi.
  • Directly control your Raspberry Pi device. *
What it should probably not do:
  • Be used for high-traffic applications. Though it should handle multiple users just fine, no optimizations or precautions have been implemented to distribute traffic or prevent flooding.
* Device control provided by separate packages. https://www.nuget.org/packages/Raspberry.System3/

Return to “Networking and servers”