public static string GetPathInfo(string fullPath, string mode, string appPath) { var pathInfo = ResolvePathInfoFromMappedPath(fullPath, mode); if (!IsNullOrEmpty(pathInfo)) return pathInfo; //Wildcard mode relies on this to work out the handlerPath pathInfo = ResolvePathInfoFromMappedPath(fullPath, appPath); if (!IsNullOrEmpty(pathInfo)) return pathInfo; return fullPath; }