/
README
18 lines (11 loc) · 829 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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