Get the list of all HttpModules in ASP.Net

added by MDubey
1/23/2013 4:58:40 AM

0 Kicks, 54 Views

Here I will give you a quick trick to get the list of all active HttpModules at runtime. We can get all the HttpModules from web.config or from machine.config file. But, If we want this at runtime then we can do this with the help of HttpApplication and HttpModuleCollection class. Below is the code snippet for getting the list of all active HttpModules .


0 comments