ASP.NET MVC - Server software requirements?

后端 未结 5 900
花落未央
花落未央 2021-01-16 11:12

I\'ve just today learned of asp.net mvc, and I\'m wondering what is needed from the server-side to host this.

I suppose IIS 6 (and newer) and the .NET 3.5, is there

相关标签:
5条回答
  • 2021-01-16 11:25

    From MSDN: How to: Deploy an ASP.NET MVC Application

    Basically you need:

    • .NET 3.5
    • System.Web.Mvc (the ASP.NET MVC assembly)
    • System.Web.Routing (a .NET Framework assembly that is required by ASP.NET MVC)
    • System.Web.Abstractions (a .NET Framework assembly that is required by ASP.NET MVC)

    Routing and Abstractions dlls are only needed if you don't have SP1.

    As long as your IIS Server is serving .NET 3.5 SP1 projects fine, you shouldn't have to do anything special for MVC because it is essentially just a library.

    Also, if you

    0 讨论(0)
  • 2021-01-16 11:40

    Depending on your hosting environment you may find that MVC is not already installed on the server, fortunately the framework is bin-deployable.

    Simply placing System.Web.Mvc.dll, System.Web.Routing.dll, and System.Web.Abstractions.dll in your application's bin directory should solve most deployment issues.

    0 讨论(0)
  • 2021-01-16 11:44

    Nope, thats it ;-) I would stick to IIS7 if at all possible though

    0 讨论(0)
  • 2021-01-16 11:46

    .NET 3.5 + IIS 5.1 or greater.

    0 讨论(0)
  • 2021-01-16 11:47

    IIS 5.1 is fine also.

    No other needs.

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