This topic has not yet been rated - Rate this topic

HttpContextWrapper.RewritePath Method

Assigns an internal rewrite path, which lets the requested URL differ from the internal path of the resource.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method RewritePath(String) Rewrites the URL by using the specified path. (Overrides HttpContextBase.RewritePath(String).)
Public method RewritePath(String, Boolean) Rewrites the URL by using the specified path and a value that specifies whether the virtual path for server resources is modified. (Overrides HttpContextBase.RewritePath(String, Boolean).)
Public method RewritePath(String, String, String) Rewrites the URL by using the specified path, path information, and query string information. (Overrides HttpContextBase.RewritePath(String, String, String).)
Public method RewritePath(String, String, String, Boolean) Rewrites the URL by using the specified path, path information, query string information, and a value that specifies whether the client file path is set to the rewrite path. (Overrides HttpContextBase.RewritePath(String, String, String, Boolean).)
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.