【Mark】Why was Default.aspx removed from MVC 2

Q: Why was Default.aspx removed from MVC 2?
A: Default.aspx file should only be needed when running in IIS6 or in IIS7 Classic Mode. Neither Cassini (the built in VS web server) nor IIS7 Integrated Mode (the default) need default.aspx. The reason we took Default.aspx out is that there are many steps required to get ASP.NET MVC to work on IIS6 and IIS7 Classic Mode and having Default.aspx in the project doesn't help very much anyway since there are so many other steps.

 

 

 

 

从1.0到2.0的转换

http://weblogs.asp.net/leftslipper/archive/2009/10/19/migrating-asp-net-mvc-1-0-applications-to-asp-net-mvc-2.aspx

 

在Download下面点链接下载

The app is a single executable: Download MvcAppConverter.zip (220 KB).

解压缩后选择对应的MVC1.0的solution进行转换即可

posted @ 2010-04-03 11:37  MicroCoder  阅读(226)  评论(0编辑  收藏  举报