public void RewritePath(string path)
 {
     logger.Debug("Rewriting '" + Url.LocalUrl + "' to '" + path + "'");
     CurrentHttpContext.RewritePath(path, false);
 }
 public void RewritePath(string path, string queryString)
 {
     logger.Debug("Rewriting '" + Url.LocalUrl + "' to '" + path + "'");
     CurrentHttpContext.RewritePath(path, "", queryString);
 }
Esempio n. 3
0
 /// <summary>Assigns a rewrite path.</summary>
 /// <param name="path">The path to the template that will handle the request.</param>
 public void RewritePath(string path)
 {
     CurrentHttpContext.RewritePath(path, false);
 }