页面绝对地址:http://localhost:8888/Info/List?cate=1&p=1
方法 | 结果 |
Request.RawUrl | /Info/List?cate=1&p=1 |
Request.Url.Host | localhost |
Request.Url.Port | 8888 |
Request.Url.ToString() | http://localhost:8888/Info/List?cate=1&p=1 |
Request.Url.AbsolutePath | /Info/List |
Request.Url.AbsoluteUri | http://localhost:8888/Info/List?cate=1&p=1 |
Request.Url.PathAndQuery | /Info/List?cate=1&p=1 |
Request.Url.Query | ?cate=1&p=1 |
Request.PhysicalPath | F:\Project\CMS\InfoList?cate=1&p=1 |