Search code examples
asp.net-mvclinq-to-sql.net-2.0linqbridge

Is it possible to deploy ASP.NET MVC to a .NET 2.0 server?


I have a win 2k3 server (so stating the obvious IIS6) with service pack 2. Is it possible to bin deploy an ASP.NET MVC 2 application to this server with installing additional material on the server? The server currently has .NET 2.0 framework installed, but there is too much red tape to upgrade the server.

I have found an article from Scott Hanselman stating that pre-official MVC 1 release can operate on .NET 2.0 framework provided you do not use .NET 3.5 features (i.e. LINQ). However further research shows that LINQBridge supports .NET 2.0 framework.

Is it possible to combine these technologies to deploy an ASP.NET MVC application to a .NET 2.0 server?


Solution

  • No, it is not possible. ASP.NET MVC 2 has a dependency on the System.Core assembly which is .NET 3.5 or higher. Sorry. Time to upgrade the box. Simply install .NET 4.0 or .NET 3.5 on the server and make your application run. And when you are ready to upgrade shoot for ASP.NET MVC 3.0. And of course if this takes time and ASP.NET MVC 4.0 is out shoot for it.

    .NET 2.0 just like .NET 1.1 is history that we should leave in the past as fast as possible if we want to progress.