Skip to main content

HttpModuleStartup

Namespace: Wisej.Web.Ext.AspNetControl

Assembly: Wisej.Web.Ext.AspNetControl (4.1.0.0)

Self registration for HttpModule.

public class HttpModuleStartup

Constructors​

Instance member HttpModuleStartup()​

Initializes a new instance of HttpModuleStartup.

Methods​

Static member Start()​

Registers the module.

Registers the HttpModule with the ASP.NET application. ASP.NET calls this method automatically before the application starts, through the PreApplicationStartMethodAttribute declared in this assembly, so you don't need to call it or add the module to Web.config.

Example:

The following example shows the assembly attribute that runs this method on startup:

[assembly: PreApplicationStartMethod(typeof(Wisej.Web.Ext.AspNetControl.HttpModuleStartup), "Start")]