Showing posts with label mvc. Show all posts
Showing posts with label mvc. Show all posts

Tuesday, February 23, 2021

What is ASP.NET MVC?

MVC stands for model, view and controller. MVC separate the Application into three components – Model , View and Controller.


The model in MVC basically used to represent the shape of the data. A Classes in C# is used the describe a model. Model Objects store data  retrieved from database.

The View in MVC is a user interface. View display model data to the user and also enables them to modify them. View in ASP.NET MVC is HTML, CSS, and some special syntax (Razor syntax) that makes it easy to communicate with the model and the controller.

The Controller handles the user request. The user uses the view and raises the HTTP request, which will be handle by Controller. The controller processes the request and returns the appropriate view as a response.



Request flow in ASP.NET MVC Application









Featured Post

What is JavaScript? What is the role of JavaScript engine?

  The JavaScript is a Programming language that is used for converting static web pages to interactive and dynamic web pages. A JavaScript e...