I have a class called Global
that derives from HttpApplication
.
Oddly, I see a lot of methods inside Global
that look like:
void Application_Start(object sender, EventArgs e)
{
}
The code is definitely executing inside this method, so the method is being called from somewhere, but where? The methods aren't marked overload?
Secondly, I derived a class from Global
, let's call it GlobalFoo
.
Again, if I create a method called Application_Start()
it will get called inside my derived class, otherwise nothing that's in Global
will get called so I might as well be deriving from an empty class.
Can anyone offer any advice? Am I missing some fundamental part of ASP.NET?