URL used to deal with temporary users, MSDN look, finishing the part. Now everyone Share this:
Test Address: HTTP: // localhost:? 10710 / Engine / bb the Default.aspx AA = 1 & c =
- Request.RawUrl---/Engine/Default.aspx?aa=1&bb=c
- Request.Url.AbsoluteUri---http://localhost:10710/Engine/Default.aspx?aa=1&bb=c
- Request.FilePath---/Engine/Default.aspx
- Request.ApplicationPath---/Engine
- Request.CurrentExecutionFilePath---/Engine/Default.aspx
- Request.Path---/Engine/Default.aspx
- Request.PhysicalApplicationPath---C:\Documents and Settings\Administrator\桌面\WorkkFolder\Pages\BlogEngine\Engine\
- Request.PhysicalPath---C:\Documents and Settings\Administrator\桌面\WorkkFolder\Pages\BlogEngine\Engine\Default.aspx
HttpRequest.RawUrl : acquiring original current request URL ( original URL is defined as URL portion after the domain information. URL string http://www.contoso.com/articles/recent.aspx , the original URL is / articles / recent.aspx . original URL including the query string (if present). )
The HttpRequest
.
FilePath: property
Gets the virtual path of the current request.
The HttpRequest
.
ApplicationPath property
acquired virtual application root path on the server for ASP.NET applications.
The HttpRequest
.
CurrentExecutionFilePath property
Gets the virtual path of the current request.
The HttpRequest
.
Path property
Gets the virtual path of the current request.
The HttpRequest
.
PhysicalApplicationPath property
Gets the root directory of the server application currently being executed in the physical file system path.
The HttpRequest
.
PhysicalPath property
acquires the URL request corresponding to the physical file system path.
Reproduced in: https: //www.cnblogs.com/netwenchao/archive/2010/02/10/1666981.html