Using the HTTP Request object from the current HTTP context, can return a few different URL path.
To retrieve just the URL without the query string variables, use
RequestObject.CurrentExecutionFilePath
To retrieve the entire URL with query string variables, use
RequestObject.RawURL
There are other important bits that we can use too.
Showing posts with label dotNet URL. Show all posts
Showing posts with label dotNet URL. Show all posts
Tuesday, July 20, 2010
Subscribe to:
Posts (Atom)