HttpModuleStartup
Namespace: Wisej.Web.Ext.AspNetControl
Assembly: Wisej.Web.Ext.AspNetControl (4.1.0.0)
Self registration for HttpModule.
- C#
- VB.NET
public class HttpModuleStartup
Public Class HttpModuleStartup
Constructors
HttpModuleStartup()
Initializes a new instance of HttpModuleStartup.
Methods
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")]