我可以在.NET 4中部署我的ASP.NET MVC应用程序4

我可以在.NET 4中部署我的ASP.NET MVC应用程序4

问题描述:

我想知道这是ASP.NET MVC 4应用程序可以.NET 4的服务器上运行的东西。

I want to know about a thing that IS ASP.NET MVC 4 application can be run on .NET 4 server.

我想我的部署应用MVC4,我得到了错误的。

I am trying to deploy my MVC4 application and I am got the error that.

500 - 内部服务器错误结果。
  存在与该资源的问题,你
  所寻找的,它不能被显示。

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

我针对.NET 4框架,但我仍然有此错误。我不知道发生了什么服务器。我试图寻找其他职位,但我没有发现谁可以clearify的MVC 4可.NET服务器上运行的任何职务。

I target the .net 4 framework but I am still having this error. I am not sure what happen to server. I am trying to look on other post but I did not find any post who can clearify that MVC 4 can run on .net server.

是的。 ASP.Net MVC 4将在ASP.Net 4和ASP.Net 4.5运行。我在ASP.Net 4运行的网站,它也证实了的这篇博客文章由斯科特谷。这是假设你的目标不是在应用程序中的任何新4.5功能。

Yes. ASP.Net MVC 4 will run on ASP.Net 4 and ASP.Net 4.5. I am running a site on ASP.Net 4, and it is also confirmed in this blog post by Scott Gu. This assumes that you are not targeting any new 4.5 features in your application.

请确保您复制所需的MVC 4 .dll文件在bin文件夹如果服务器还没有安装它们。 本帖由菲尔哈克介绍了如何部署斌第3版Hanselman也有类似的文章。您将需要检查第4版发行说明为所需的电流.dll文件。

Be sure that you are copying the required MVC 4 .dll files in your bin folder if the server does not already have them installed. This post by Phil Haack explains how to bin deploy version 3. Hanselman has a similar article. You will need to check the version 4 release notes for the current .dlls required.

我们也许能提供一个更具体的答案,如果你能提供一些额外的细节,并让我们知道您正在运行的IIS版本和Visual Studio。

We may be able to provide a more specific answer if you can provide some additional details, and let us know what version of IIS and Visual Studio you are running.