url Arşivleri - Selim Özdem
20 Ekim 2018, Cumartesi
Home / Tag Archives: url

Tag Archives: url

Request.Url ASP.NET ile sayfa adresini alma

asp.net sayfanın adresi nasıl alınır ve sayfa adresi almak gibi sorulara aşağıdaki kodlar cevap olacaktır. Full URL : http://localhost:2000/virtual_dir/myrep/page.aspx?q=qvalue Request.ApplicationPath : /virtual_dir Request.CurrentExecutionFilePath : /virtual_dir/myrep/page.aspx Request.FilePath : /virtual_dir/myrep/page.aspx Request.Path : /virtual_dir/myrep/page.aspx Request.PhysicalApplicationPath : d:\Inetpub\wwwroot\Websitename\virtual_dir\ Request.QueryString : /virtual_dir/myrep/page.aspx?q=qvalue Request.Url.AbsolutePath : /virtual_dir/myrep/page.aspx Request.Url.AbsoluteUri : http://localhost:2000/virtual_dir/myrep/page.aspx?q=qvalue Request.Url.Host : localhost Request.Url.Authority : localhost:2000 Request.Url.LocalPath …

Devamı »