Next in the series is modules. So, what is a module, and what does it do? A module is some class that implements IHttpModule . This is a very simple interface, which only defines two methods: Init : this is the “body” of the module, where you place it...
As you may already know, ASP.NET 4.0 brought along with it a new mechanism to execute methods before the application start event (the Application_Start method): the PreApplicationStartMethodAttribute . This attribute, when applied to an assembly, indicates...