protected void Application_Start() { AreaRegistration.RegisterAllAreas(); WebApiConfig.Register(GlobalConfiguration.Configuration); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); // Initialize the data for the app Models.StoreInitializer si = new Models.StoreInitializer(); // Save the data in the "application state" object // MSDN - http://msdn.microsoft.com/en-us/library/ms178594(v=VS.100).aspx // The data will exist during the application's lifetime, // which is at least twenty minutes Application["Colours"] = si.Colours; }