MVC is one of three ASP.NET programming patterns.
MVC is a pattern for creating Web applications using MVC (Model View Controller model-view-controller) design:
Model (model) represents the core of the application (such as a database record list).
View displays data (database records).
Controller handles input (writes database records).
MVC pattern provides full control over HTML, CSS and JavaScript simultaneously.
MVC - Style and Layout syntax
The file _Layout.cshtml represents the layout for each page in the application. It's located in the Shared folder within the Views folder.
MVC - Style and Layout example
@ViewBag.Title
Copyright RUNOOB 2012. All Rights Reserved.