IIS - 右键 - 属性 - 主目录 - 配置 插入 C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll 扩展名映射 否则MVC4 发布的时候的无法正常浏览主页