开发者

Server requirements for MVC 2

开发者 https://www.devze.com 2023-04-12 10:42 出处:网络
I am attempting to get MVC2 installed on a server at work, and am being told they are required to install t开发者_如何学Che Visual Studio 2008 Package in order for us to use it. Where I work this caus

I am attempting to get MVC2 installed on a server at work, and am being told they are required to install t开发者_如何学Che 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.


ASP.NET MVC 2 is bin-deployable, so you don't actually need to install it.


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号