views:

560

answers:

4

Hi,

I have an ASP.NET MVC application, and i have deployed it locally in my box. Now if i want to deploy it in a "Test" server (which is a tightly controlled environment), what do i need to install in the test server at the minimum - i.e. on top of the pre-installed ASP.NET 2.0 and .NET framework.

Do i need to isntall ASP.NET MVC runtime - obviously i won't be allowed to install any VS.NET or developer specific MVC stuff. It has to be the minimum runtime that is required to run the MVC ASP.NET app and nothing more.

Where do i get such an installer? Somewhere in MS web site?

Thanks.

A: 

http://www.asp.net/mvc/download/

or, more directly: http://www.microsoft.com/downloads/details.aspx?FamilyID=53289097-73ce-43bf-b6a6-35e00103cb4b&displaylang=en

Joel Martinez
You shouldn't need to install MVC dev tools on deployment machine.
Dennis Palmer
Hi Joel - I thought the above download was for development, and so i should not be using it for test server deployment?
But i will need to install something on the deployment m/c so that the MVC functionality can work, otherwise how would it work with just the sandard ASP.NET framework/runtime?
+1  A: 

Beyond having the latest version of the .NET framework (3.5 sp1), the only thing you may have to do is tweak your IIS settings depending on the version you are running.

You can read this great blog entry from Phil Haack on it as well talking about what needs to be in the BIN.

Here is a great writeup on what is required.

RSolberg
A: 

What you are probably looking for is a BIN deployment. A BIN deployment allows you to copy the required DLLs to the BIN directory on the target server, allowing them to run in a Medium Trust environment. No installation required.

For instructions on how to do this, see:

Bin Deploying ASP.NET MVC
http://haacked.com/archive/2008/11/03/bin-deploy-aspnetmvc.aspx

Robert Harvey
Duplicate...
RSolberg
+1  A: 

During the Beta, Scott Hanslemann wrote up the details on deploying an ASP.NET MVC application to a .NET 2.0 server:

Deploying ASP.NET MVC on ASP.NET 2.0

That will do the job if you can't get the server updated to .NET 3.5 SP1.

Zhaph - Ben Duguid