Monday 27 July 2015

Understanding the MVC framework working in Asp.net MVC 5

Hello Guys, Hope you 're all fine. Today we'll learn about What is MVC in Asp.net.

Tools Needed: Visual Studio (2012 or later)

MVC is a framework which Microsoft has adopt to develop efficient Web Application. Let's try to understand it, what is actually the functionality hidden behind it.

If a user write URL in the browser as www.see4tech.blogspot.com, the request goes to Controller (The Mega Mind), then Controller decides that which Page should be shown on to the browser. The Model take a great part. As Page needs some data to show. Controller collects data from the Database, Web Api's blah blah blah, stores it in Model and give it to the View. So Page gets data from controller and shows in the browser.

The Following picture describes a visual structure of working of MVC.

MVC Structure

1 comment: