What is Asp.Net MVC?


Asp.Net MVC is the first Open source Framework released by Microsoft.

Asp.Net is the Three tier architecture that means it separates the application into three main components. Those are Model, View and Controller.

Asp.Net MVC is the light weighted, highly testable framework that is easily integrated with the existing Asp.Net Features.

There are three components in Asp.Net MVC. Models, Views and Controllers.

 

Model: Model objects are the parts of application, those will responsible for Business logic. For example, if you want to retrieve information about any product or if you want to update the database information about any product, you have to do it through Model object.

View: Views are the components that will display user interface (UI). For example, if you want to create registration form for users. For that you have to display some textboxes, checkboxes and dropdown lists. You will display HTML components through Views.

Controller: Controllers are the main components in Asp.Net MVC. Controllers will actually handles the request come from the users and work with the Model and selects the View to display the View.

In MVC application Views only display the user Interface, the controllers handles and responds to the user input and interaction.