MVC stands for Model View Controller.
The ASP.NET
MVC is a framework, standard pattern for developing Web applications.
The ASP.NET
MVC framework provides an alternative to the ASP.NET Web Forms pattern for
creating Web applications.
The ASP.NET MVC framework handled by three objects Model, View and Controller.
The MVC framework includes the following
components -
1. Model
– Model
contains the business logic which is used to retrieve and store model state in
a database. Model is a central parts and works between View and Controller.
2. View
– View is a user interfaces (UI),
look and feel which are used to display the application's user interface (UI).
3. Controller
– Controller are components that handles and responds to user input and
interactions.
The ASP.NET
MVC framework is a lightweight, highly testable presentation framework.
The MVC framework is defined in the System.Web.Mvc assembly.
The MVC is an extensible and pluggable framework.
The ASP.NET
MVC pattern helps us to create applications that separate the different
aspects of the application (input logic, business logic, and UI logic).
What Are the Advantages of an
MVC Based Web Application?
It makes it easier to manage complexity by
dividing an application into the model, the view, and the controller.
Easy to maintain the applications
It does not use view state or server-based forms.
It provides better support for test-driven
development (TDD).