Is there an event in the request pipeline where both Request and Response are available and populated?

StackOverflow https://stackoverflow.com/questions/652158

  •  19-08-2019
  •  | 
  •  

Question

I need to bind to an event in the request pipeline where both the Request and Response are populated. The Request is simple, but I need the StatusCode off the Response object. At what point in the pipeline is the Response populated?

Was it helpful?

Solution

Take a look at this page under the "The request is processed by the HttpApplication pipeline" section. The "EndRequest" event should have what you need.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top