Exemplo n.º 1
0
        public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute("favicon.ico");
            routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
            routes.IgnoreRoute("{resource}.txt");

            var router = IoC.Resolve<IRouterPublisher>();
            router.RegisterRoutes(routes);
            // default
            routes.Default();
        }