Provides module initialization and disposal events to the implementing class.

See Also: IHttpModule Members


public interface IHttpModule


Modules are used to implement extensions to the HTTP application execution pipeline (caching, authentication, state management, hooks, and more). The default modules loaded are listed in the machine.config and they can be extended by providing a web.config file on the application directory.

This interface is the base interface required by every module author.

Developers typically hook up to one or more events in the HttpApplication in their implementation of the IHttpModule.Init(HttpContext) method.


Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0,