Last post Feb 24, 2007 02:00 AM by Zhao Ji Ma - MSFT
Feb 21, 2007 08:12 PM|MrBogoMips|LINK
I've implemented a very simple HttpModule which goal is to add a simple HTML comment at the bottom of every page/webservice served by IIS. I've configured the web.config file properly.
What happens, in debug mode but even when deployed on my local IIS, is that the events are intercepted correctly (all the breakpoints on Init method and the callback function associated with the event PreSendRequestContent are fired) but none text is added.
I've pasted in the following the source code ofthe HttpModule.
Feb 24, 2007 02:00 AM|Zhao Ji Ma - MSFT|LINK
The following sample works: