ASP.NET supports three different development models:
Web Pages, MVC (Model View Controller), and Web Forms.
THIS TUTORIAL COVERS MVC
|Web Pages||MVC||Web Forms|
MVC is one of three ASP.NET programming models.
MVC is a framework for building web applications using a MVC (Model View Controller) design:
The MVC model defines web
The business layer (Model logic)
The display layer (View logic)
The input control (Controller logic)
The Model is the part of the application that handles the logic for the
Often model objects retrieve data (and store data) from a database.
The View is the parts of the application that handles the display of the
Most often the views are created from the model data.
The Controller is the part of the application that handles user
Typically controllers read data from a view, control user input, and send input data to the model.
The MVC separation helps you manage complex applications, because you can focus on one aspect a time. For example, you can focus on the view without depending on the business logic. It also makes it easier to test an application.
The MVC separation also simplifies group development. Different developers can work on the view, the controller logic, and the business logic in parallel.
The MVC programming model is a lighter alternative to traditional ASP.NET (Web Forms). It is a lightweight, highly testable framework, integrated with all existing ASP.NET features, such as Master Pages, Security, and Authentication.
Visual Studio Express is a free version of Microsoft Visual Studio.
Visual Studio Express is a development tool tailor made for MVC (and Web Forms).
Visual Studio Express contains:
If you install Visual Studio Express, you will get more benefits from this tutorial.
If you want to install Visual Studio Express, click on one of these links:
Visual Web Developer 2012 (If you have Windows 7 or Windows 8)
Visual Web Developer 2010 (If you have Windows Vista or XP)
|After you have installed Visual Studio Express the first time, it pays to run the installation one more time, to install fixes and service packs. Just click on the link once more.|
At the end of this tutorial you will find a complete ASP.NET MVC reference.