I have a global.asax. and I have added a subscription to the LogRequest and BeginRequest
void Application_LogRequest(object sender, EventArgs e)
...
void Application_BeginRequest(object sender, EventArgs e)
....
First, I am not certain what is the real purpose of the LogRequest and when it should fire. I have also done a test application and I have breakpoints in the LogRequest and BeginRequest above. Somehow the LogRequest is never being fired - it never enters in the breakpoint. And the BeinRequest is firing correctly with each request. I have done some research online but there is very little about the LogRequest event apart from the fact that it should fire with each request ... but in my case it isn't.
I am running from VS but My website is deployed to IIS.
Many Thanks