Best way to deploy an ASP.NET MVC app on IIS 7 / Server 2008?

前端 未结 3 954
被撕碎了的回忆
被撕碎了的回忆 2021-02-10 14:10

So far, the only successful strategy I\'ve been able to get by with is the following:

  1. Configure YOURAPP.Web to \"Use Local IIS Web Server\" and set \"Project Url\"
3条回答
  •  一整个雨季
    2021-02-10 14:25

    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.

提交回复
热议问题