Installing ASP.NET MVC 4 on a server

前端 未结 3 1821
无人及你
无人及你 2020-12-30 20:33

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 \

相关标签:
3条回答
  • 2020-12-30 21:26

    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.

    0 讨论(0)
  • 2020-12-30 21:28

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

    0 讨论(0)
  • 2020-12-30 21:33

    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

    0 讨论(0)
提交回复
热议问题