Last post Feb 28, 2013 01:12 AM by Mikesdotnetting
Feb 27, 2013 04:22 PM|BitShift|LINK
Can an HTTP module wirtten with C# and .NET basically serve the same purpose as a ISAPI module written with C++? In this case Im taking about an httpmodule referenced at the machine.config level, so that it would be available for each request to every web
app on the server.
The catch here would be that it would probably come into the picture only when something was requested that the ASP.NET ISAPI was mapped to, such as aspx files etc, correct?
Feb 28, 2013 01:12 AM|Mikesdotnetting|LINK
The answer to your first question is Yes. Read more about HttpModules here: http://msdn.microsoft.com/en-gb/library/bb398986(v=vs.100).aspx
As to the second question, from that page: In IIS 7.0 [and above], the request pipeline is integrated with the Web server request pipeline. HTTP modules can be used for any request to the Web server, not just ASP.NET requests.
This basically means that ASP.NET is integrated as part of the core web server, so all requests are processed by ASP.NET when Integrated Piepline is configured.
More info in the integrated pipeline at the IIS site: