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); }
/// <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); }