Ejemplo n.º 1
0
        public static string GetRootUrlByPhysicalPath(string physicalPath)
        {
            var requestPath = PathUtils.GetPathDifference(WebConfigUtils.PhysicalApplicationPath, physicalPath);

            requestPath = requestPath.Replace(PathUtils.SeparatorChar, SeparatorChar);
            return(GetRootUrl(requestPath));
        }