What Is ASP.NET MVC?

MVC stands for Models, Views and Controllers. It is a .NET framework to develop web applications. It is not similar to ASP.NET, as ASP.NET MVC framework provides an alternative approach to develop the web applications compared to ASP.NET. It is an easily testable framework.

ASP.NET MVC focuses on a separation of concerns. Everything is kept separate from one another. The detail is given below of Models, Views and Controllers. 
 
Models

Model is a class in ASP.NET MVC Application with .cs extension. It is a class, which defines the logic and database of the application. The database of the application is created according to this class. It contains the attributes called properties that store data in the database. The following is a Model with the name Employee.

 
 
Views 

Views are the components that display the user interface of the application. The user interface is created by Controller's Action method (Controller will be discussed later). Views are similar to HTML pages and are known as Razors. Everything which is required to be displayed on the screen is present in Views. The view of the Model class Employee is given below.

 
Controller

Controller is the component of the Application which handles the user interaction. Controller is also called class with .cs extension. It works with Model and renders a View according to that Model. All the user logic is present in Controller. Controller has methods, which are known as ActionResults. The Views are generated according to the methods.