MVC5布署到 windows2008 IIS7.5上,发现打不开(404),估计是URL重定向有问题。。。
本地开发环境是,win8+vs2013,MVC5是vs2013安装好后自带的。。。
好像记得MVC5是不用安装的,只要bin目录中包含MVC的dll文件就好。。。(对不对,还望指正)
死马当活马医,赶着上线,发现web.config中,少了<system.webServer>节点,于是添加上,重新运行,可以了
<system.webServer> <modules runAllManagedModulesForAllRequests="true"></modules> </system.webServer>