asp.net request 中有关请求路径 对照表
2012-02-15 10:34
363 查看
网址:http://localhost:1897/News/Press/Content.aspx/123?id=1 | |
Request.ApplicationPath | / |
Request.PhysicalPath | D:\Projects\Solution\web\News\Press\Content.aspx |
System.IO.Path.GetDirectoryName(Request.PhysicalPath) | D:\Projects\Solution\web\News\Press |
Request.PhysicalApplicationPath | D:\Projects\Solution\web\ |
System.IO.Path.GetFileName(Request.PhysicalPath) | Content.aspx |
Request.CurrentExecutionFilePath | /News/Press/Content.aspx |
Request.FilePath | /News/Press/Content.aspx |
Request.Path | /News/Press/Content.aspx/123 |
Request.RawUrl | /News/Press/Content.aspx/123?id=1 |
Request.Url.AbsolutePath | /News/Press/Content.aspx/123 |
Request.Url.AbsoluteUri | http://localhost:1897/News/Press/Content.aspx/123?id=1 |
Request.Url.Scheme | http |
Request.Url.Host | localhost |
Request.Url.Port | 1897 |
Request.Url.Authority | localhost:1897 |
Request.Url.LocalPath | /News/Press/Content.aspx/123 |
Request.PathInfo | /123 |
Request.Url.PathAndQuery | /News/Press/Content.aspx/123?id=1 |
Request.Url.Query | ?id=1 |
Request.Url.Fragment | |
Request.Url.Segments | / News/ Press/ Content.aspx/ 123 |
相关文章推荐
- ASP.NET 4.0验证请求 System.Web.HttpRequestValidationException: A potentially dangerous Request.F
- 巧用asp.net 过滤所有的Response请求并替换部分内容,彻底解决MVC虚拟路径问题.
- ASP.NET MVC 请求路径相关参数的获取
- ASP.NET 4.0: 请求验证模式变化导致ValidateRequest=false失效
- asp.net 中 HttpRequest 中跟URL path 有关的方法和属性
- 检测到有潜在危险的 Request.Form 值。 说明: ASP.NET 在请求中检测到包含潜在危险的数据
- asp.net Web Service请求因 HTTP 状态 400 失败: Bad Request的原因
- 取消ASP.NET中的请求验证(Disabling Request Validation)部分转载Entlib.Net
- 解决ASP.NET MVC(post数据)Json请求太大,无法反序列化(The JSON request was too large to be deserialized)
- asp.net 中 HttpRequest 中跟URL path 有关的方法
- ASP.NET MVC : 请求处理流程 (Request-Handling Pipeline)
- ASP.NET-------get请求,post请求,Request,Response和回发的学习
- ASP.NET常用路径获取方法与格式对照表
- asp.net 中请求-响应(request-response)的几种方法
- discuz ASP.NET 4.0验证请求 A potentially dangerous Request.Form value was detected from the client
- asp.net(c#)使用HttpWebRequest附加携带请求参数以post方式模拟上传大文件(以图片为例)到Web服务器端
- 有关请求路径的总结 request.getContextPath()、request.getServletContext().getRealPath("")、request.getRequestURI
- 有关Asp.net 中数据请求的处理的新认知:利用httpHandlers
- ASP.NET 有关Request.Url
- Asp.net利用Request属性实现自动返回上次请求页面