0

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.

3 Answers 3

3

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.

Sign up to request clarification or add additional context in comments.

Comments

2

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

2 Comments

No, I dont think so.. What if the application is deployed or hosted by a Internet Hosting company who dont give you the access to their servers.
The assemblies need to be on the server machines somewhere as the MVC code runs server side, but as Dario-G has pointed out, the software need not be installed on the servers, but it needs to be there in some form and accessible by your app.
1

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.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.