I came across the nice explanation of :
[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(xxx), "Start")]
HERE.
So I am more curious to know, when does the ApplicationShutdownMethod execute? As the code implies(below), the Shutdow() is disposing the UnityContainer instanse.
[assembly: WebActivatorEx.ApplicationShutdownMethod(typeof(UnityWebActivator), "Shutdown")]
public static void Shutdown()
{
var container = UnityConfig.GetConfiguredContainer();
container.Dispose();
}