HttpRequest.PhysicalApplicationPath 当前应用程序的根目录的文件系统路径
= E:\test\CVLS220104\CVLS\WebCVLS\
HttpRequest.PhysicalPath 获取与请求的 URL 相对应的物理文件系统路径
= E:\test\CVLS220104\CVLS\WebCVLS\G02\FS0207_Import.aspx
HttpRequest.ApplicationPath 获取服务器上 ASP.NET 应用程序的虚拟应用程序根路径
= /WebCVLS
HttpRequest.CurrentExecutionFilePath 获取当前请求的虚拟路径
= /WebCVLS/G02/FS0207_Import.aspx
HttpRequest.CurrentExecutionFilePathExtension 获取 CurrentExecutionFilePath 属性中指定的文件名的扩展名
= .aspx
HttpRequest.FilePath 获取当前请求的虚拟路径
= /WebCVLS/G02/FS0207_Import.aspx
HttpRequest.Path 获取当前请求的虚拟路径
= /WebCVLS/G02/FS0207_Import.aspx
HttpRequest.PathInfo 获取具有 URL 扩展名的资源的附加路径信息
=
HttpRequest.RawUrl 获取当前请求的原始 URL
= /WebCVLS/G02/FS0207_Import.aspx?a=1648170678529
HttpRequest.Url 获取有关当前请求的 URL 的信息
= http://localhost/WebCVLS/G02/FS0207_Import.aspx?a=1648170678529
C# 路径及文件名
于 2022-03-25 17:35:57 首次发布