• Stars
    star
    113
  • Rank 310,115 (Top 7 %)
  • Language
    C#
  • License
    MIT License
  • Created over 9 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Webserver for universal windows platform (UWP) apps

Webserver for Universal Windows Apps

Release build: Build status

Dev build: Build status

NuGet downloads: NuGet downloads

Code quality: BCH compliancy


Want to start coding immediatly, read the one pager setup


Goal

Provide a HTTP server supporting static html and REST in order to keep Windows IoT projects going. Let's hope there will be a native solution soon, although there aren't any signs for that yet (if you have one, let me know).

How this started

When the raspberry pi 2 was released, all windows developers were filled with joy when Microsoft announced the support of windows 10 for this neat device. After a couple of beta builds, we got the RTM version. A crucial piece for this platform is missing, WCF. It might be supported in the future (see post), but until then we need some simple webservice implementation to keep our projects going.

The first couple of alpha and beta versions supported hosting REST controllers only, but since beta2 static files are supported as well. This also introduced a way to add your custom RouteHandler if you need anything that's not supported out-of-the-box. Take a look at the wiki for details.

The REST implementation is using the guidelines from: https://github.com/tfredrich/RestApiTutorial.com.

How you can start

Read the wiki, it explains it all.

Latest release notes (1.0.0 stable)

  • Allow no location header with post response with not location specified (#90)
  • CORS is supported now (read the Wiki for configuration options)
  • Removed "Devkoes." from namespaces
  • Url arrays implemented (#16)
  • Query parameters are supported (#49)
  • Couple of api changes (beta4 to rc1), read about them here