私のasp.net mvcサイトのApplication_BeginRequestからリダイレクトできないようです。私はなぜこれが動作していないのか分からない...私はルーティングが疑わしいが、正確にはなぜそうは思わない。global.asaxからのリダイレクトはMVCで動作しません
/// <summary>
/// Application_BeginRequest
/// </summary>
protected void Application_BeginRequest(object sender, EventArgs e)
{
Response.Redirect("siteoffline.html");
}
Firefoxの表示私はあなたが各要求に対して呼び出されApplication_BeginRequest
の内側にリダイレクトしている
The page isn't redirecting properly
Firefox has detected that the server is redirecting the
request for this address in a way that will never complete.
笑、私はそれを気付かなかったと信じることはできません。ありがとうございました – chobo