Wilco Bauwer's point of view

WebDev.WebServer2

Posted Mon, 12 Dec 2005 03:55:13 GMT in Downloads with no tags

Visual Studio 2005 comes with a built-in webserver, called Cassini. While it works fine for most things, it has a few limitations (which are reasonable for a built-in webserver). One of the limitations is that it only serves local requests. Another limitation is that it doesn't use http.sys, which means it can't share a port with for example IIS.

I decided to put together a little webserver using HttpListener, which is a managed interface for http.sys. This webserver should be able to do everything that Cassini can do and more. You can still limit requests to for example localhost by specifying a different host ('prefix') when starting the server. Hopefully this turns out to be useful for someone playing around with Indigo/WCF, or for someone who wants to let others see a local webapp.

License:
This project is released under Ms-PL. Please contact me directly for questions or exceptions.

Downloads:

1 response