private string GetAbsoluteUrlFromPath(string path) { var retVal = _basePublicUrl + "/" + path.Replace(_storagePath, String.Empty).TrimStart('\\').Replace('\\', '/'); return Uri.EscapeUriString(retVal); }