Model View Controller in ASP.Net Core

How does this MVC work

Model View Controller in ASP.Net Core

### MVC is a structural design pattern that is used in implementing the user interface layer of an application.

How does MVC work in. Net:

There are some basic understandings you need to know about the model, the view & the controller works.

The Model {M}:

The model contains the set of classes that represent data + the logic to manage the data itself.

The View {V}:

The view contains the display logic of how to present the model data that is provided to it by the controller.

The Controller {C}:

Now, it's the controller that handles the HTTP request to work with the model and then selects a view to render the model.

arrow - Copy - Copy.png

Summary:

The logic behind the MVC is as simple as this: The controller handles the incoming HTTP request and outgoing response by returning the model data that is present and presenting it with a logic to display the model data.

                                      Are these resources helpful?