Exemple #1
0
        /// <summary>
        /// Starts the application
        /// </summary>
        protected void Application_Start()
        {
            ApplicationContext.AppConfigure();
            StructuremapMvc.Start();
            AutoMapperInit.CreateMappings();

            AreaRegistration.RegisterAllAreas();

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

            IoCFilterProvider <IIoCFilter> .ApplyToAllFilters();

            ObjectFactory.GetInstance <ITestService>();
        }