Composer equivalent to BeginRequest, endRequest, Error
I've just about worked out how to use a composer to replace my old Global.asax.OnApplicationStarted code, but I'm still completely in the dark about how to replace my old code:
protected new void Application_Error(object sender, EventArgs e)
{
// my code here
}
internal void Application_BeginRequest(object sender, EventArgs e)
{
// my code here
}
internal void Application_EndRequest(object sender, EventArgs e)
{
// my code here
}
I'm sure I'm missing something very obvious, can anyone give a code snippet to run code under these events in v8?
Composers are there to help replace the ApplicationEventHandler class, if you want to interact with Global.asax, I believe you still do it the same way.
If I'm wrong, hopefully someone will correct me :-)
Composer equivalent to BeginRequest, endRequest, Error
I've just about worked out how to use a composer to replace my old Global.asax.OnApplicationStarted code, but I'm still completely in the dark about how to replace my old code:
I'm sure I'm missing something very obvious, can anyone give a code snippet to run code under these events in v8?
Hi Chris,
Composers are there to help replace the ApplicationEventHandler class, if you want to interact with Global.asax, I believe you still do it the same way.
If I'm wrong, hopefully someone will correct me :-)
Thanks
Nik
Oh, OK. Cool. Guess I got the wrong end of the stick.
All working now under v8 with my old v7 code, thanks!
is working on a reply...