Rishabh Ohri
Rishabh Ohri

Reputation: 1310

Hosting Asp.Net MVC Applications

I am working on an Asp.Net MVC project. I had a doubt and please someone clarify it fast.. --> Do we need the MVC framework installed in the Hosting server from where the application is installed.

I have installed the MVC framework on my developer machine but do we need the framework installed in the hosting server also.

Upvotes: 0

Views: 427

Answers (3)

user244255
user244255

Reputation: 71

No, you don't need it installed. Place the MVC dll in your bin folder. I just asked my hosting company and they confirmed it.

Upvotes: 1

dariol
dariol

Reputation: 1979

No. You can embed MVC framework within your bin folder to deploy.

Just change property 'Copy Local' to true for the following references:

  • System.Web.Mvc
  • System.Web.Routing
  • System.Web.Abstractions

PS
This is valid for MVC 1.0. I don't know about MVC 2.0.

Upvotes: 3

Colin Desmond
Colin Desmond

Reputation: 4854

Yes you do. It needs to be on each ASP.Net server that you are using.

Upvotes: 2

Related Questions