i

ASP.Net A Complete Guide

ASP.NET MVC

MVC is a design pattern.

Model, view and controller are the main components of the MVC.

Model: It represents the business layer. The model has the business logic. It retrieves and holds the data in it.

View: It represents the UI layer. The user provides the input to the request by using this layer.

Controller: It is the main component that interacts with the View and the model. It takes the request from the view and sends the data to the model and again it receives data from the model and provides a response to the UI.

Advantages offered by MVC:

  • Test driven programming mode.

  • Client-side control those are very easy it uses and minimizes the load of the server.

  • It maintains separate UI and code logic.