ASP.NET MVC Architecture
ASP.NET MVC Architecture
MVC is Model, View, and controller. it separates an application into three-part
1)Model 2) View 3) Controller.
Let understand each part in details below:-
1) Model:- Model represents data and business logic. it maintains the data of the application.
we can create an object of the model and using that object we can store
and retrieve data from the database
2) View:- View is User interface means UI.
View Display data using a model to users and enable them to modify data.
3) Controller:- Controller is a request handler. The controller handles user requests.
a user interacts with the view. The controller renders View with
model data as a response.
View Display data using a model to users and enable them to modify data.
3) Controller:- Controller is a request handler. The controller handles user requests.
a user interacts with the view. The controller renders View with
model data as a response.
Comments
Post a Comment