Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does ASP.Net MVC run on top of ASP.NET 2.0?

Tags:

asp.net-mvc

Does ASP.Net 2.0 and Visual Studio 2005 has the possibility of working with MVC or I have to move to VS2008 and asp.net 3.5?

like image 582
user31009 Avatar asked Oct 23 '08 23:10

user31009


People also ask

Which .NET framework supports MVC?

The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication. The MVC framework is defined in the System.

Is ASP.NET MVC still in use?

It is no longer in active development. It is open-source software, apart from the ASP.NET Web Forms component, which is proprietary. ASP.NET Core has since been released, which unified ASP.NET, ASP.NET MVC, ASP.NET Web API, and ASP.NET Web Pages (a platform using only Razor pages).

What is the current version of ASP.NET MVC?

ASP.NET is a free web framework for building websites and web applications on . NET Framework using HTML, CSS, and JavaScript. ASP.NET MVC 5 is a web framework based on Model-View-Controller (MVC) architecture.

What is ASP.NET Core vs ASP.NET MVC?

The main difference between ASP.NET Core and ASP.NET MVC 5 is their cross-platform approach. ASP.NET Core can be used on Windows, Mac, or Linux, whereas ASP.NET MVC 5 can only be used for applications on Windows. The ASP.NET Core MVC is a framework for building web apps and APIs, optimized for use with ASP.NET Core.


4 Answers

It's definitely not supported. The post that Scott wrote might be outdated. Even following that post, it might not work now due to some recent changes. You're best off upgrading to .NET 3.5 as who knows what might break trying to build an ASP.NET MVC site for 2.0

like image 175
Haacked Avatar answered Nov 23 '22 12:11

Haacked


It's not supported but you can read up on how to do it here...

http://www.hanselman.com/blog/DeployingASPNETMVCOnASPNET20.aspx

like image 27
SaaS Developer Avatar answered Nov 23 '22 11:11

SaaS Developer


Indeed, I asked Scott Hanselman to update his blog with the fact that his technique no longer works. You'll have to upgrade to ASP.NET 3.5 to use ASP.NET MVC. (ASP.NET 3.5 Service Pack 1 is not, however, required, though it will work just fine.)

like image 33
Eilon Avatar answered Nov 23 '22 11:11

Eilon


It isn't intended to work but I remember reading something from Scott Hanselman saying it may be possible with a bit of hacking. It would be dodgy as though.

like image 43
Ty. Avatar answered Nov 23 '22 10:11

Ty.