- Information
- AI Chat
Was this document helpful?
CS 3203 Software Engineering Lab 6
Course: Software Engineering (CS391)
174 Documents
Students shared 174 documents in this course
University: Fayoum University
Was this document helpful?
Eng. Yossr - Eng. Esraa
1
ASP.NET MVC
What is ASP.NET MVC?
The ASP.NET MVC is a web application development framework provided by Microsoft
which is built on top of the .NET Framework. We can use this ASP.NET MVC Framework to
develop web applications that provide a clean separation of code.
The ASP.NET MVC Framework is based on MVC (Model-View-Controller) Design Pattern.
What is MVC?
MVC is an architectural software design pattern that is used for developing interactive
applications where there would be user interaction involved and based on the user
interaction some event handling has occurred. It is not only used for web-based
applications, but it can also be used for Desktop or mobile-based applications where there
are user interactions involved.
MVC design pattern was introduced in the 1970s that basically divides an application into 3
major components such as Model, View, and Controller. The main objective of the MVC
design pattern is the separation of concerns, it means the domain model and business logic
are separated from the user interface (i.e., view). Thus, maintenance and testing of the
application become simpler and easier.
Model: Model represents shape of the data and business logic. It maintains the data of the
application. Model objects retrieve and store model state in a database.
Model is a data and business logic.
View: View is a user interface. View display data using model to the user and enables them
to modify the data.
View is a User Interface.
Controller: Controller handles the user request. Typically, user interact with View, which
in-turn raises appropriate URL request, this request will be handled by a controller. The
controller renders the appropriate view with the model data as a response (communication
between user and model).
Controller is a request handler(process).
CS 3203 Software Engineering (1) – 2020/2021
Lab (6)