Prepare Yourself for ASP.NET 5 - Part 4 (Application Startup)
In an ASP.NET when the web server (IIS) starts your application, it invokes Global.asax and code from event handlers such as Application_Start. So, things that you wish to configure when an application starts go inside Global.asax. In ASP.NET 5 the application start-up happens in a different way. This article familiarizes you with the new start-up style.
http://www.binaryintellect.net/articles/733f5105-b421-4174-b6f1-396cab93a0d7.aspx