Table of Contents
MVC Architectural Pattern
Hello folks today we will understand MVc architectural Pattern. Microsoft came up with asp.net MVC architecture in 2008. All most all programming languages are having MVC architecture as it became gradually very famous. Let’s try to understand asp.net MVC Architectural Pattern. We will understand each Model, View and Controller along with Routing in brief and in up coming posts we will understand them in depth.
What is MVC?
MVC (Model-View-Controller) is a architectural pattern which separates application in 3 components like Model, View and Controller. MVC framework is light weight due to separation of each concern and lightly couple nature.
What is Model?
What is View?
What is Controller?
What is Route?
Now let’s try to understand how requests handled by MVC!!!
As shown in image User browse URL like “www.technothristy.com/getCategories“.
Here getCategories request is handled by Controller, Model will fetch Categories from database & give it to View and View will display categories.