URI Property Examples


For the following sample URL:
http://localhost:1720/test/temp.aspx?id=12345&id2=890

The URI properties look like this:
Path Part Portion included in part
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"


Last modified by Mohit @ 4/4/2025 8:28:51 AM