MVC Design Pattern in ASP.NET Core | Day 10 | Dot Net Tutorials | Pranaya Rout | Online Training
MVC Design Pattern in ASP.NET Core | Day 10 | Dot Net Tutorials | Pranaya Rout | Online Training At the end of this video, you will understand the following pointers. What is MVC? How Does MVC Design Pattern Work in ASP.NET Core? What is ASP.NET Core MVC? Features of ASP.NET Core MVC When to Choose ASP.NET MVC and When to Choose ASP.NET Core MVC? What is MVC? MVC stands for Model View and Controller. It is an architectural design pattern, which means it is used at an application’s architecture level. So, you need to remember that MVC is not a programming language. MVC is not a Framework. It is a Design Pattern. When we design an application, first, we create the architecture of that application, and MVC plays an important role in the architecture of that particular application. MVC Design Pattern is basically used to develop interactive applications. An interactive application is an application where there is user interaction involved, and based on the user interaction, some event handling occurs. The most important point you need to remember is that it is not only used for developing Web-Based Applications, but we can also use this MVC Design Pattern to develop Desktop or Mobile-Based applications. The MVC (Model-View-Controller) Design Pattern was introduced in the 1970s, dividing an application into 3 major components. They are Model, View, and Controller. The main objective of the MVC Design Pattern is the separation of concerns. It means the Domain Model and Business Logic are separated from the User Interface (i.e., view). As a result, maintaining and testing the application becomes simpler and easier. So, in simple words, we can say that the Model-View-Controller (MVC) is an architectural design pattern that separates an application code into three main groups of components: Models, Views, and Controllers. This pattern helps to achieve separation of concerns. Using this pattern, user requests are routed to a Controller, which is responsible for working with the Model to perform user actions and/or retrieve the results of queries. The Controller chooses the View to display to the user and provides it with any Model data it requires. When to choose ASP.NET MVC? You are currently working on an existing application and would like to expand the functionalities by adding new features.