Recuperando dados da página Asp.Net C# (CSharp)

Principais comandos para recuperar os dados da página Asp.Net C# (CSharp).


Autor : Antonio Carlos Ferreira de Azevedo
Postado em : 28/10/2015


Comando Exemplo de Resultado
Request.ApplicationPath: /
Request.CurrentExecutionFilePath /default.aspx
Request.FilePath: /default.aspx
Request.Path: /default.aspx
Request.PathInfo:
Request.PhysicalApplicationPath: D:\Inetpub\wwwroot\site\
Request.RawUrl: /categoria/ASP.NET.aspx
Request.QueryString: /categoria/ASP.NET.aspx
Request.Url: http://cbsa.com.br/default.aspx?cat=ASP.NET
Request.Url.AbsolutePath: /default.aspx
Request.Url.AbsoluteUri: http://cbsa.com.br/default.aspx?cat=ASP.NET
Request.Url.Fragment:
Request.Url.Host: cbsa.com.br
Request.Url.Authority: cbsa.com.br
Request.Url.LocalPath: /default.aspx
Request.Url.PathAndQuery: /default.aspx?cat=ASP.NET
Request.Url.Port: 80
Request.Url.Query: ?cat=ASP.NET
Request.Url.Scheme: http
Request.Url.Segments: /default.aspx
Uri.SchemeDelimiter: ://

Comentários