MVC stands for model, view and controller. MVC separate the Application into three components – Model , View and Controller.
The model in MVC basically used to represent the shape of the data. A Classes in C# is used the describe a model. Model Objects store data retrieved from database.
The View in MVC is a user interface. View display model data to the user and also enables them to modify them. View in ASP.NET MVC is HTML, CSS, and some special syntax (Razor syntax) that makes it easy to communicate with the model and the controller.
The Controller handles the user request. The user uses the view and raises the HTTP request, which will be handle by Controller. The controller processes the request and returns the appropriate view as a response.
No comments:
Post a Comment