Why ASP.NET MVC bothers to have a Default.aspx file?
问题 When create a new ASP.NET MVC project in Visual Studio 2008, there is a Default.aspx page by default. It has one line In its Page_Load function, it just redirects to "/" to go through the routing procedure. public void Page_Load(object sender, System.EventArgs e) { HttpContext.Current.RewritePath(Request.ApplicationPath); IHttpHandler httpHandler = new MvcHttpHandler(); httpHandler.ProcessRequest(HttpContext.Current); } I tried to remove Default.aspx and it turns out that the default URI