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

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.
主站蜘蛛池模板: 贺兰县| 龙门县| 思南县| 洪江市| 铜梁县| 清镇市| 韶山市| 秦皇岛市| 华宁县| 临清市| 迁安市| 甘谷县| 招远市| 邳州市| 荣成市| 驻马店市| 肥西县| 门源| 班戈县| 游戏| 靖边县| 阜平县| 依兰县| 富锦市| 镇安县| 武鸣县| 扶绥县| 石首市| 开封县| 昌吉市| 尚义县| 喀喇沁旗| 上杭县| 宜宾县| 荥经县| 繁峙县| 潮安县| 雅安市| 长泰县| 会泽县| 治多县|