How to simulate Server.Transfer in ASP.NET MVC?

How about a TransferResult class? (based on Stans answer) /// <summary> /// Transfers execution to the supplied url. /// </summary> public class TransferResult : ActionResult { public string Url { get; private set; } public TransferResult(string url) { this.Url = url; } public override void ExecuteResult(ControllerContext context) { if (context == null) throw new ArgumentNullException(“context”); … Read more