Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between ASP.NET MVC 1 and 3

I made several websites with MVC 1 and now I'm ready to skip the version 2 to go ahead and play with the version 3 directly.

Without giving to much details, can you provide me with the biggest key concepts that the version 3 brings to the table versus version 1 (version 2 included)?

I will research on those topics afterwards.

For example I heard about "areas" in v2. I'm looking for those big things you programmers think it's worth to know.

Thanks

like image 814
Mike Gleason jr Couturier Avatar asked Mar 01 '11 03:03

Mike Gleason jr Couturier


People also ask

What is difference between MVC and 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.

What is difference between MVC and 3 layer architecture?

Conceptually the three-tier architecture is linear. However, the [model-view-controller] MVC architecture is triangular: the view sends updates to the controller, the controller updates the model, and the view gets updated directly from the model. The MVC architecture is not necessarily triangular, it can be either.

What is Microsoft ASP.NET MVC 3?

ASP.NET MVC 3 is a framework for building scalable, standards-based web applications using well-established design patterns and the power of ASP.NET and the . NET Framework. It installs side-by-side with ASP.NET MVC 2, so get started using it today!

What are the three models of MVC?

In fact, in ASP.NET MVC, there are three distinct types of model: the domain model, view model and input model.


1 Answers

The documents What's new in MVC 2 and ASP.NET MVC 3 Release Notes provide a good overview.

MVC 2:

  • Templated Helpers
  • Areas
  • Client-side Validation
  • Child action rendering
  • Data Annotations support
  • More model binding
  • Asynchronous controllers
  • Bunch of other stuff

MVC 3:

  • Razor view engine
  • Unobtrusive client-side validation and jQuery support
  • Dependency Injection support
  • More Validation
  • JSON model binding
  • Granular request validation
  • Requires .NET 4
  • Bunch of other stuff

In addition there are all the blog posts about MVC by Scott Guthrie, Phil Haack, Brad Wilson, and a bunch of others you can search for with very little effort.

like image 66
marcind Avatar answered Oct 02 '22 18:10

marcind