Introduction :ASP.NET MVC is a advance
version of the ASP.NET. Simpally you use C# and VB.NET language developed your
application.ASP.NET MVC makes use of the MVC design pattern and the result is far different at code
level. ASP.NET MVC divides the entire processing logic into three distinct parts
namely model, view and controller. In the process views (that represent UI under
MVC architecture) needed to sacrifice three important features of web forms:
Post backs, View State and rich event model. Let's quickly see why this
sacrifice is necessary. Remember that in the following sections when I say "web
form" I mean the original web form model and when I say "MVC web page" I mean
MVC based web forms, though technically they belong to the same inheritance.
- Model: The model contains
the core information for an application. This includes the data and
validation rules as well as data access and aggregation logic.
- View: The view
encapsulates the presentation of the
application, and in ASP.NET this is typically the HTML markup.
- Controller: The
controller contains the control-flow logic. It interacts with the Model and
Views to control the flow of information and execution of the application.