What is MVC ?

   MVC (Model View Controller) is lightweight, highly  testable,presentation framework that is integrated with existing ASP.NET features, such as master pages, authentication, etc.

Model -> Data Objects
View -> Displays the Application Interface
Control -> Handles user interactions, work with the model


 Creating Simple MVC Demo Project :-

  Open Visual Studio --> Web --> ASP.NET Web Application name it as SampleMVCDemo -->Check Empty and Choose MVC check box as Checked, you can see the below list of folders and files in SampleMVCDemo Project.


 
    Right click on Controller folder --> Add Controller -->Empty Controller means without scaffolding template  name as Demo
namespace SampleMVCDemo.Controllers
{
    public class DemoController : Controller
    {
        // GET: Demo
        public ActionResult Index()
        {
            return View();
        }
    }
}

Now we need to have View for Displaying the information, Right Click on Index ActionResult Controller-->Add View when you press enter It will creates Demo folder in Views and in that Index.cshtml file will be created you can see below code