void Application_Start( object sender, EventArgs e )
		{
			// Code that runs on application startup

			// register IoC
			var builder = new ContainerBuilder();
			builder.RegisterElFinderConnectorDefault();
			_container = builder.Build();
			// need also to set container in elFinder module
			_container.SetAsElFinderDependencyResolver();
		}
        protected void Application_Start()
        {
           

            // register IoC
            var builder = new ContainerBuilder();
            builder.RegisterElFinderConnectorDefault();
            _container = builder.Build();
            // need also to set container in elFinder module
            _container.SetAsElFinderDependencyResolver();

            
            RegisterRoutes(RouteTable.Routes);
        }
Пример #3
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);

            // register IoC
            var builder = new ContainerBuilder();
            builder.RegisterElFinderConnectorDefault();
            _container = builder.Build();
            // need also to set container in elFinder module
            _container.SetAsElFinderDependencyResolver();
        }