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

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.
主站蜘蛛池模板: 宁安市| 嫩江县| 颍上县| 怀集县| 龙里县| 石家庄市| 中江县| 息烽县| 清镇市| 通山县| 洮南市| 阿城市| 应用必备| 湟源县| 铁岭市| 合水县| 镇平县| 维西| 惠州市| 精河县| 婺源县| 福州市| 三穗县| 彩票| 汕尾市| 武定县| 沈阳市| 德江县| 东城区| 梨树县| 咸丰县| 全南县| 舞阳县| 抚州市| 靖西县| 五指山市| 柏乡县| 英吉沙县| 沐川县| 荥阳市| 新乡县|