Top "Httpmodule" questions

ASP.

Why HttpContext.Current.Handler is null?

I'm trying to access a Page within an HttpModule and I think I should do this by calling HttpContext.Current.…

.net asp.net httpmodule handler
ASP.NET HttpModule gives "Connection Reset" in browser

I have implemented a HttpModule in ASP.NET (framework 2.0). From my logging on the server, I can see that the …

asp.net httpmodule
Why RewritePath changes the Browser Url?

I have an ASP.NET 4 HttpModule (see code below). When the url path starts with "/1.0" I want Cassini/IIS to …

c# asp.net url-rewriting httpmodule cassini
When to use HttpHandlers and HttpModules?

When exactly to use HttpHandlers and HttpModules? Can't I write that code in ASPX pages' code behind?

asp.net module handler httphandler httpmodule
HttpModule not called in .NET 4.5

Just spent a lot of time sifting through contradictory advice on this problem, and thought I'd post my solution. My …

asp.net-mvc-4 visual-studio-2012 httpmodule
Custom HttpModule for IIS 7 for integrated

I'm having troubles with a custom Error handler I built. It should be a HttpModule, but when I add it …

asp.net iis-7 httpmodule integrated-pipeline-mode
Module registered in IIS7 doens't work

I've created a small Class Library, with a HttpModule that uses a filter to add some html to every requested …

iis-7 httpmodule
IoC Dependency injection into Custom HTTP Module - how? (ASP.NET)

I have a custom HTTP Module. I would like to inject the logger using my IoC framework, so I can …

asp.net dependency-injection inversion-of-control httpmodule
How is the order of execution for HttpModules determined?

Suppose that both FirstModule and SecondModule handle the Application_BeginRequest event. Will it execute in the order defined in the …

asp.net web-config httpmodule