URI Property Examples
For the following sample URL:
http://localhost:1720/test/temp.aspx?id=12345&id2=890
http://localhost:1720/test/temp.aspx?id=12345&id2=890 The URI properties look like this: AbsolutePath: "/test/temp.aspx" AbsoluteUri: "http://localhost:1720/test/temp.aspx?id=12345&id2=890" Authority: "localhost:1720" DnsSafeHost: "localhost" LocalPath: "/test/temp.aspx" OriginalString: "http://localhost:1720/test/temp.aspx?id=12345&id2=890" PathAndQuery: "/test/temp.aspx?id=12345&id2=890" Port: 1720 Query: "?id=12345&id2=890" Scheme: "http"
AbsolutePath: "/test/temp.aspx"
AbsoluteUri: "http://localhost:1720/test/temp.aspx?id=12345&id2=890" Authority: "localhost:1720" DnsSafeHost: "localhost" LocalPath: "/test/temp.aspx" OriginalString: "http://localhost:1720/test/temp.aspx?id=12345&id2=890" PathAndQuery: "/test/temp.aspx?id=12345&id2=890" Port: 1720 Query: "?id=12345&id2=890" Scheme: "http"