Пример #1
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            RegisterGlobalFilters(GlobalFilters.Filters);
            RegisterRoutes(RouteTable.Routes);

#if !DEBUG
            //TODO: Add your favorite bootstrapper framework
            Bundles_Startup.BundleCss();
            Bundles_Startup.BundleJs();
#endif
        }
Пример #2
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            // Use LocalDB for Entity Framework by default
            Database.DefaultConnectionFactory = new SqlConnectionFactory("Data Source=(localdb)\v11.0; Integrated Security=True; MultipleActiveResultSets=True");

            RegisterGlobalFilters(GlobalFilters.Filters);
            RegisterRoutes(RouteTable.Routes);
#if !DEBUG
            //TODO: Add your favorite bootstrapper framework
            Bundles_Startup.BundleCss();
            Bundles_Startup.BundleJs();
#endif
        }