Bryan Slatner
Bryan Slatner

Reputation: 1608

Installing ASP.NET MVC 4 on a server

How does one go about installing ASP.NET MVC 4 on a server. The Web Platform Installer insists on installing all kinds of Visual Studio 2010 stuff. I don't see a "server only" installation. For example, it wants to install "Visual Studio 2010 Core SP1" and "Visual Web Developer Express".

Upvotes: 30

Views: 100544

Answers (3)

Captain Kenpachi
Captain Kenpachi

Reputation: 7215

The safest thing to do would be to mark your reference to System.Web.Mvc as "copy local = true" in the reference's properties window. When you do a deploy, it will get copied into your bin folder.

It feels a bit backwards, but there you go.

Upvotes: 9

Lucero
Lucero

Reputation: 60190

Get the standalone installer from http://www.asp.net/mvc/mvc4

Upvotes: 38

user1477388
user1477388

Reputation: 21420

I would install and run on local host, then use Visual Studio's "publish" to publish it to a web server. You can install it via http://www.asp.net/mvc. If you're asking how to install it on IIS, then read this:

http://blogs.msdn.com/b/rickandy/archive/2011/04/22/test-you-asp-net-mvc-or-webforms-application-on-iis-7-in-30-seconds.aspx

Upvotes: 0

Related Questions