Esempio n. 1
0
        protected void Application_Start()
        {
            //Dependancy Injection
            var kernel = new StandardKernel(new ProfileModule());
            var resolver = new NinjectDependencyResolver(kernel);
            DependencyResolver.SetResolver(resolver);

            AreaRegistration.RegisterAllAreas();

            RegisterGlobalFilters(GlobalFilters.Filters);
            RegisterRoutes(RouteTable.Routes);
            Logger.Info("Application Started");
        }