Introduction to ASP.NET MVC
ASP.NET supports three different development model:
Web Pages (Web page), MVC (Model View Controller Model - View - Controller), Web Forms (Web Forms).
This tutorial introduces the MVC.
|Web Pages||MVC||Web Forms|
MVC programming model
ASP.NET MVC are three programming modes in one.
MVC is a use MVC (Model View Controller Model - View - Controller) design pattern to create a Web application:
- Model (Model) represents the core of the application (such as a database record list).
- View (View) to display data (database records).
- Controller (Controller) processing the input (written to the database record).
MVC pattern to define Web application with three logical layers:
Business layer (logic model)
Display layer (logical view)
Input Control (Logic Controller)
Model (model) is part of the application for processing the application data logic.
Generally responsible for the object model to access data in the database.
View (view) is part of the application process data displayed.
Usually view is based on the model data created.
Controller (Controller) is part of the application process user interaction.
Typically the controller is responsible for reading data from the view, the user input control and to transmit the data model.
MVC layering helps manage complex applications, because you can focus exclusively on one aspect at a time. For example, you can not rely on the case to focus on the business logic of the design view. But also allow testing of an application easier.
MVC also simplify the hierarchical grouping development. Different developers can develop simultaneously view, controller logic and business logic.
Compare Web Forms MVC
MVC programming model is an alternative to traditional ASP.NET (Web Forms) of a lightweight. It is lightweight, highly testable framework while integrating all existing ASP.NET features, such as master pages, security and authentication.
Visual Studio Express 2012/2010
Visual Studio Express is a free version of Microsoft Visual Studio.
Visual Studio Express is MVC (and Web Forms) tailored development tools.
Visual Studio Express comprises:
- MVC and Web Forms
- Drag and drop Web controls and Web components
- Web server language (Razor using VB or C #)
- Web Server (IIS Express)
- The database server (SQL Server Compact)
- Complete Web development framework (ASP.NET)
If you have installed Visual Studio Express, You will learn more in this tutorial.
If you want to install Visual Studio Express, please click on the link in one of:
The Web Developer 2012 the Visual (the Windows. 7 or Windows 8)
The Web Developer 2010 the Visual (the Windows Vista or XP)
|After you complete the first installation of Visual Studio Express, you can install patches and service packs by running Setup again, only you need to click the link again.|
ASP.NET MVC Reference Manual
In this tutorial, we have provided a complete ASP.NET MVC reference manual for your review.