简体   繁体   中英

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.

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.

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM