且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在IIS 7 / Server 2008的部署ASP.NET MVC应用程序的***方式?

更新时间:2023-10-21 12:33:46

确认IIS7的托管管道模式设置为集成。这一直是这样做(我)让我的MVC应用程序在IIS7运行平稳的一个最重要的事情。
下面是一个不错的博客文章也。
在开发应用程序,我不得不使用Visual Studio开发服务器运行的应用程序没有问题。

Make sure IIS7's "Managed pipeline mode" is set to "Integrated". That has been the single most important thing to do (for me) to get my MVC app running smoothly on IIS7. Here's a good blog post too. When developing the app, I have had no issues using the "Visual Studio Development Server" for running the app.