I am wondering under what circumstances I should be putting application initialisation code in Application_Start() vs Init() in my Global.asax file?
The distinction between the two doesn't seem very obvious to me, other than Application_start gets called first, then Init().
- Why would I use one over the other?
- Does it really make a difference?
- What changes in the application state between the two events?
So far the only real pointer I can find is that IHttpModule only has an Init() method, so if what I'm doing may at some point be better suited to implement IHttpModule I should use the Init() method of Global.asax, if nothing else for consistency.