Example #1
0
        public void Application_Error(object sender, EventArgs e)
        {
            Exception exception = Server.GetLastError();

            if (EFMigrationsManagerConfig.HandleEFMigrationException(exception, Server, Response, Context))
            {
                return;
            }
        }
Example #2
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);

            EFMigrationsManagerConfig.Register();
        }