为什么我们不在mvc中使用代码隐藏概念?
我刚刚经历了这个 asp.net MVC 模式,有人建议不要使用代码隐藏。 有什么具体原因吗???
I was just going through this asp.net MVC pattern and someone suggested not to use code behind.
Is there any specific reason for that???
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
整个模式基于不使用代码隐藏文件。与显示无关的任何代码都应该位于控制器或支持类中。
the whole pattern is based on not using a codebehind file. any code that is not related to display should be in the controller or a supporting class.