MVC 2 的服务器要求
我试图在工作服务器上安装 MVC2,但被告知需要安装 Visual Studio 2008 Package
才能让我们使用它。在我工作的地方,这会导致问题,因为我们需要大量的批准等。但是,我在搜索的任何地方发现的唯一一件事是服务器需要 .NET 3.5 sp1,它当前位于服务器上。我唯一能想到的是他们说他们需要某种 2008 可再发行版本,或者他们假设服务器本身需要 VS2008。
不管怎样,我以前从未在服务器上安装过 MVC,我只是想知道他们是否不理解需求或者我是否忽略了某些内容。
I am attempting to get MVC2 installed on a server at work, and am being told they are required to install the Visual Studio 2008 Package
in order for us to use it. Where I work this causes issues because we need tons of approvals etc. However the only thing I am finding anywhere I search is that the server requires .NET 3.5 sp1, which is currently on the server. The only thing I can think of is they are saying they need some sort of 2008 redistributable, or they are making the assumption that the actually need VS2008 on the server itself.
Anyway I have never installed MVC on a server before, and really just want to know if they dont understand the requirements or if I am overlooking something.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
ASP.NET MVC 2 是 bin-deployable,因此您实际上不需要安装它。
ASP.NET MVC 2 is bin-deployable, so you don't actually need to install it.
您不需要在服务器上安装任何东西。
只要服务器具有启用了 ASP.Net 的 IIS 并安装了 .Net 3.5,MVC 应用程序就可以运行。
您只需将 System.Web.Mvc.dll 复制到 Web 应用程序中的
bin
文件夹中。You don't need to install anything on the server.
As long as the server has IIS with ASP.Net enabled and .Net 3.5 installed, MVC applications will work.
You just need to copy System.Web.Mvc.dll to the
bin
folder in your web application.我假设您正在尝试在 IIS 中运行。
也许这篇关于使用 iis 注册 .net 框架的文章会有用:
http://msdn.microsoft.com/en-我们/库/k6h9cz8h(v=VS.90).aspx
显然,在 IIS 管理器中打开所需的设置。
I'm assuming you're trying to run in IIS.
Perhaps this post about registering the .net framework with iis would be useful:
http://msdn.microsoft.com/en-us/library/k6h9cz8h(v=VS.90).aspx
And obviously switch on the required settings in IIS Manager.