What is ASP.NET MVC?
Microsoft’s ASP.NET MVC is an open-source project. Its online development framework blends MVC (Model-View-Controller) design characteristics with the most up-to-date Agile development ideas and methodologies, as well as the greatest parts of the existing ASP.NET platform.
The MVC (Model-View-Controller) pattern is an application development or design pattern that divides an application into three basic components:
- Model
- View
- Controller
Model: A model is a component of an application that implements the logic for the program’s data domain. It’s used to get and save model state from a database, such as SQL Server. It’s also utilized to keep business logic separate from the application’s data.
View: The user interface of an application is formed by the View component. It’s used to make the application’s web pages. An edit view of a Products table, for example, might show text fields, drop-down menus, and check boxes depending on the current state of a Product object.
Controller: The controller component is in charge of user interaction. It works with the model to choose the view that will be used to render the web page. The view just displays information in an MVC application, whereas the controller manages and responds to user input and requests.