Why can't I use server controls in ASP.net MVC?

后端 未结 5 1374
悲&欢浪女
悲&欢浪女 2020-12-08 02:40

I\'m getting ready to be responsible for leading the development of a small ASP.net MVC application. This is my first time creating an MVC application, so I am excited!

5条回答
  •  渐次进展
    2020-12-08 02:57

    At the core of this is Model View Controller (MVC) which promotes decoupling. The idea is that you feed your View (web page) a Model with all the data that it needs to be rendered. Server controls are tightly coupled. There is no concept of state in MVC or 'should' be no concept anyways.

提交回复
热议问题