Wednesday, July 22, 2009

Build and debug ISAPI extension

I have built and debugged an ISAPI extension DLL before. However, it still gave me a little bit hard time today when I tried to debug an ISAPI extension DLL which I built by myself. The article by Mehdi Mousav -- What is an ISAPI Extension? provies a pretty good coverage on this topic. The setup of ISAP extension DLL in IIS is straightforward -- copy the DLL to the folder which can be accessed from the URL, such as http://Domain/DLLPath. For the author of the ISAPI extension DLL, one caveat is the module definition file (.def). The ISAPI extension DLL needs to be built with it; otherwise, the ISAPI extension APIs will not be visible to an IIS worker process.

0 comments:

Post a Comment