HttpModules - scope
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
From what I understand when you create an HttpModule you can register only the events you want the HttpModule to handle. However, aren't HttpModules designed to run for all pages and you have to register it in Web.config? If I wanted to create a service (class) that would use event chaining on the PreRender/Render event for a *given page* what would be the recommended design for this? I'm guessing just a simple class that is bound by a delegate for the PreRender/Render event right? Are there any recommended base classes/interfaces I should inherit for this design?