Aqueduct.Web.WebContext.ResolvePath C# (CSharp) Method

ResolvePath() public method

Resolves virtualPaths relative to a website's folder
public ResolvePath ( string virtualPath ) : string
virtualPath string Path relative to the website folder
return string
        public override string ResolvePath(string virtualPath)
        {
			string processedPath = virtualPath.IsNullOrEmpty() ? virtualPath : virtualPath.TrimStart('~', '/');
			return Path.Combine(HttpRuntime.AppDomainAppPath, processedPath);
        }
    }