public static Route MapASPxPageRoute(this RouteCollection source, string routeName, string routeUrl, string physicalFile, string notFoundFile, RouteValueDictionary defaults, RouteValueDictionary constraints)
        {
            var actualRouteUrl     = routeUrl;
            var actualDefaults     = PERMANENT_DEFAULTS.ExcludeUnusedIn(actualRouteUrl).MergeWith(defaults).ExcludeNull();
            var actualConstraints  = PERMANENT_CONSTRAINTS.ExcludeUnusedIn(actualRouteUrl).MergeWith(constraints).ExcludeNull();
            var actualRouteHandler = new ASPxPageCustomRouteHandler(physicalFile, notFoundFile);

            return(source.AddRoute(
                       routeName,
                       new Route(
                           actualRouteUrl,
                           actualDefaults,
                           actualConstraints,
                           actualRouteHandler
                           )
                       ));
        }
        public static Route MapASPxPageRoute(this RouteCollection source, string routeName, string routeUrl, string physicalFile, string notFoundFile, RouteValueDictionary defaults, RouteValueDictionary constraints)
        {
            var actualRouteUrl = routeUrl;
            var actualDefaults = PERMANENT_DEFAULTS.ExcludeUnusedIn(actualRouteUrl).MergeWith(defaults).ExcludeNull();
            var actualConstraints = PERMANENT_CONSTRAINTS.ExcludeUnusedIn(actualRouteUrl).MergeWith(constraints).ExcludeNull();
            var actualRouteHandler = new ASPxPageCustomRouteHandler(physicalFile, notFoundFile);

            return source.AddRoute(
                routeName,
                new Route(
                    actualRouteUrl,
                    actualDefaults,
                    actualConstraints,
                    actualRouteHandler
                )
            );
        }