HttpModules in Self-Hosted WCF Service
We have a windows service that is self-hosting a WCF Data Service, using the DataServiceHost class.  Everything is working just fine, but we would like to hook up some HTTPModules to the service, if possible.  One of the HTTP Modules would be for custom basic authentication, the other for auditing (including responses, which is why an HTTP Module works so well for this).

Keep in mind that we are running as a regular windows service, so we have no web.config, the service is not hosted by IIS, and it is not an ASP.Net application.

So, my questions are:

 1. Is it possible to have an HTTP Module listen on a self-hosted WCF data service?
 2. If this is not possible, what options would I have that are similiar to the power of an HTTP Module?


HttpModules in Self-Hosted WCF Service
===

We have a windows service that is self-hosting a WCF Data Service, using the DataServiceHost class.  Everything is working just fine, but we would like to hook up some HTTPModules to the service, if possible.  One of the HTTP Modules would be for custom basic authentication, the other for auditing (including responses, which is why an HTTP Module works so well for this).

Keep in mind that we are running as a regular windows service, so we have no web.config, the service is not hosted by IIS, and it is not an ASP.Net application.

So, my questions are:

 1. Is it possible to have an HTTP Module listen on a self-hosted WCF data service?
 2. If this is not possible, what options would I have that are similiar to the power of an HTTP Module?

