Hi,
It’s been a while since I wrote my last blog. Now I have got the time, I’m going to share about MVC (Model, View, Controller) concept in Web Programming.
MVC Concept (1/3)
Diagram below describes the concept of MVC. You can see the relations between Model, View and Controller (abbreviated to MVC)
MVC Concept (2/3)
Diagram below shows the steps of creating MVC application using scaffold process. You just need to define data model (Model) and let the scaffold process to automatically create a related Controller and related CRUD (Create, Read, Update and Delete) Views based on the Model you created. Data Migration process allows creation of database related tables automatically.
MVC Concept (3/3)
Diagram below shows a more detail relationships between MVC (Model, View and Controller), as well as DBContext and Migration classes. It also describes the project files within Visual Studio solution.
I hope above visualization of MVC concept can help you understand the basic of MVC concept.
Cheers