What is the difference between ASP.NET and ASP.NET MVC?

Technology CommunityCategory: ASP.NETWhat is the difference between ASP.NET and ASP.NET MVC?
VietMX Staff asked 3 years ago

ASP.NET, at its most basic level, provides a means for you to provide general HTML markup combined with server side “controls” within the event-driven programming model that can be leveraged with VB, C#, and so on. You define the page(s) of a site, drop in the controls, and provide the programmatic plumbing to make it all work.

ASP.NET MVC is an application framework based on the Model-View-Controller architectural pattern. This is what might be considered a “canned” framework for a specific way of implementing a web site, with a page acting as the “controller” and dispatching requests to the appropriate pages in the application. The idea is to “partition” the various elements of the application, eg business rules, presentation rules, and so on.

Think of the former as the “blank slate” for implementing a site architecture you’ve designed more or less from the ground up. MVC provides a mechanism for designing a site around a pre-determined “pattern” of application access, if that makes sense. There’s more technical detail to it than that, to be sure, but that’s the nickel tour for the purposes of the question.