A New Internet Library: Add Your Website/Blog or Suggest A Website/Blog to our Free Web Directory http://anil.myfunda.net.

Its very simple, free and SEO Friendly.
Submit Now....

Monday, January 26, 2009

Tip #43: Did you know... Way you register your IHttpModule depends on the pipeline in which an AppPool for your module will run?

To get your custom IHttpModule up and running you need three simple things:

  • Source code
  • Compiled and GAC’ed DLL
  • Registration with IIS config system

Suppose, you have a simple module that raises an event with HttpContext as an argument before authentication happens, on BeginRequest:

Originals Enjoy