有谁知道如何使用ASP.NET MVC重定向到另一个服务器/解决方案?这样的事情:重定向到另一台服务器 - ASP MVC
public void Redir(String param)
{
// Redirect to another application, ie:
// Redirect("www.google.com");
// or
// Response.StatusCode= 301;
// Response.AddHeader("Location","www.google.com");
// Response.End();
}
我已经尝试过上述两种方式,但它不工作。
+1从你从哪里添加源。我可以欣赏这样的行为。 – XIII 2010-07-27 19:23:59