H
Harlan Messinger
How do the Application methods like
protected void Application_Start
get called? They aren't base class overrides and they aren't
implementing interface methods. What mechanism does the system use to
call them?
In a Web form, a similar handler like
private void Page_Load
gets called by virtue of the fact that the following line appears later
on in the page, in the OnInit override:
this.Load += new System.EventHandler(this.Page_Load);
But there isn't anything comparable in Global.asax.
protected void Application_Start
get called? They aren't base class overrides and they aren't
implementing interface methods. What mechanism does the system use to
call them?
In a Web form, a similar handler like
private void Page_Load
gets called by virtue of the fact that the following line appears later
on in the page, in the OnInit override:
this.Load += new System.EventHandler(this.Page_Load);
But there isn't anything comparable in Global.asax.