What is ASP.NET MVC? Introduction to ASP.NET MVC
Model: -Model is the part where we implement our business login, code to retrieve the data from database.
MVC is design pattern that separate the UI, data and business logic. MVC
framework is a lightweight, highly testable presentation framework. The MVC
framework is defined in the
System.Web.Mvc namespace. It is divided into 3 parts that is Model, view
and controller.
Model: -Model is the part where we implement our business login, code to retrieve the data from database.
View:
- Views are the components that display the
application s user interface (UI) and HTML pages.
Controller:
- This is act as intermediate between model and
controller and handle user interaction, work with the model, and ultimately
select a view to render that displays UI.
No comments:
Post a comment