Last post Jun 17, 2013 07:13 AM by Michael-Gekko
May 29, 2013 04:58 AM|Michael-Gekko|LINK
is it possible to create a custom HttpHandler and map this HttpHandler to an existing IIS native HttpModule?
For example if I want to use the existing IIS WebDAVModule to authenticate a WebDav request and handle
this request with a custom HttpHandler.
Thanks for your help.
Jun 14, 2013 09:34 AM|Perkinsville|LINK
Look and see on the Microsoft MSDN or Technet sites if the native module exposes any APIs. Then you could use something like DllImport to access the exposed methods. Assumming the exposed methods are the ones you need.
You might also look at using the WebDAV redirector instead of the full blow WebDAV module.
Jun 17, 2013 07:13 AM|Michael-Gekko|LINK
thanks for your answer.
I have already talked with the Microsoft Support, because I wanted to use the existing IIS WebDavModule with my custom HttpHandler solution. But this is not possible because the IIS WebDavModule is a HttpHandler too.
The right solution for this special scenario is to build a custom HttpModule for the WebDav-Authentication and a custom HttpHandler to
handle the WebDav-Request.
This is what i tried and this is what worked for me.