Example #1
0
        void Application_Start(object sender, EventArgs e)
        {
            // Code that runs on application startup
            GlobalConfiguration.Configure(config => InitImageViewer.Init(config, RouteTable.Routes));

            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
        }
Example #2
0
        protected void Application_Start()
        {
            // Code that runs on application startup
            GlobalConfiguration.Configure(config => InitImageViewer.Init(config, RouteTable.Routes));

            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
        }