.NET/ASP.NET
Request.Url 정리
클리엘
2019. 10. 2. 09:09
728x90
하도 헷갈려서 여기에다가 정리해 둡니다.
Request.Url.AbsolutePath | /[directory]/[directory]/[page] |
Request.Url.AbsoluteUri | [Scheme]://[domain]/[directory]/[directory]/[page]?[Parameter] |
Request.Url.Host | localhost |
Request.Url.Authority | localhost:80 |
Request.Url.LocalPath | /[directory]/[directory]/[page] |
Request.Url.PathAndQuery | /[directory]/[directory]/[page]?[Parameter] |
Request.Url.Port | 80 |
Request.Url.Query | ?[Parameter] |
Request.Url.Scheme | http or https ... |
728x90