Exemplo n.º 1
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);

            var myResolver = new MyDependencyResolver();
            DependencyResolver.SetResolver(myResolver);
        }
Exemplo n.º 2
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);

            var myResolver = new MyDependencyResolver();

            DependencyResolver.SetResolver(myResolver);
        }