* Brian Stoop said:
I want to embed IIS into a windows service, to save the user having to
configure it externally.
You can't. But ASP.NET has a builtin web server (HttpListener) and you
can handle the client's request in a matter that they're forwarded to
your self created AspHost object. I did this for serving asp.net pages
from embedded resources.
Unfortunately, I only know of a german article covering this subject,
but maybe you can understand some of the code there:
1. Covers handling HTTP Requests:
<
http://msdn.microsoft.com/de-de/library/bb979275.aspx>
2. Covers processing them with ASP.NET:
<
http://msdn.microsoft.com/de-de/library/bb979258.aspx>
--
Felix Palmen (Zirias) + [PGP] Felix Palmen <
[email protected]>
web:
http://palmen-it.de/ | Ca
http://palmen-it.de/pub.txt
my open source projects: | Fingerprint: ED9B 62D0 BE39 32F9 2488
http://palmen-it.de/?pg=pro + 5D0C 8177 9D80 5ECF F683