Skip to content

happyt/webServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Updated web server project

Look at the blog to see more info. http://happyt.wordpress.com

This is a simple build for a DLL that opens up a httpListener object. This object will then serve up common web files from a directory, but will also fire events to a containing application to enable it to respond with JSON or XML data. It can also fire an event with no response, to handle commands being sent to the application.

Written in 2010 initially, updated to .Net 4.5 now.

More examples of serving JSON, XML, txt data from host application.

v2.0.2 Added some mime types that I needed.
v2.0.3 More mime types...?
v2.0.4 Added  case (".cachemanifest"):
                    responseType = " text/cache-manifest";.
v2.0.5 Oops...wasn't setting binary for my icons.

v3.0.6 Newer version with some changes over last year or two
	

About

Simple C# dll using httpListener for self hosted web server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published