private string GetFullPath() { const string TildeSlash = "~/"; string relativePath = Src.Remove(0, TildeSlash.Length); return(Path.GetFullPath(relativePath, basePath: HostingEnvironment.WebRootPath)); }