What is ASP.NET Core MVC?

Beginner Updated December 11, 2024

📘 What is ASP.NET Core MVC?

ASP.NET Core MVC is a design pattern and framework within ASP.NET Core used to build dynamic web applications using the Model-View-Controller architecture.

The MVC pattern divides an application into three parts:

| Component | Description                                        |
|----------|----------------------------------------------------|
| Model     | Represents data and business logic                 |
| View      | Handles the presentation layer (HTML, CSS, Razor) |
| Controller| Processes input, interacts with Model and View     |

ASP.NET Core MVC is built on top of ASP.NET Core, meaning it uses its services, routing, middleware, and DI infrastructure.