官术网_书友最值得收藏!

A quick recap of the MVC framework

A Model-View-Controller (MVC) is a powerful and elegant way of separating concerns within an application, and applies itself extremely well to web applications.

With ASP.NET MVC, MVC stands for the following:

  • Models (M): These are classes that represent the domain model. Most of them represent the data stored in a database, for example, Employee, Customer, and so on.
  • View (V): This is a dynamically generated HTML page as template.
  • Controller (C): This is a class that manages the interaction between the View and the Model. Any operation on a View should have a corresponding handling in the Controller like user inputs, render appropriate UI, Authentication, Logging, and so on.
主站蜘蛛池模板: 大石桥市| 通江县| 双牌县| 云阳县| 巩义市| 宁国市| 牟定县| 肥西县| 尉犁县| 青田县| 墨玉县| 积石山| 高台县| 始兴县| 林州市| 班戈县| 民县| 甘洛县| 泰安市| 浏阳市| 蒙阴县| 万安县| 北宁市| 绥棱县| 东城区| 灵寿县| 南和县| 社会| 元阳县| 鄂伦春自治旗| 信宜市| 保康县| 临夏市| 四会市| 庐江县| 永泰县| 华亭县| 哈巴河县| 五常市| 新密市| 赞皇县|