如何在asp.net中使用MVC [英] How to MVC Use in asp.net

查看:98
本文介绍了如何在asp.net中使用MVC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

提供详细信息并下载任何电子书和
如何在asp.net中将MVC cantrol与数据绑定一起使用? 给我最佳示例"和最佳链接"建议???

Give me Details and Download any e-book and
How to use MVC cantrol with databinding in asp.net ???
Give me Best Example and Best Link suggestion ???

推荐答案

Google是您的朋友.亚马逊是你的朋友.您不能在ASP.NET中使用MVC.您可以创建一个同时运行asp.net页面的MVC站点. MVC没有控件或databindng. ASP.NET可以.我认为您非常困惑,不知道您在问什么.
Google is your friend. Amazon is your firend. you can''t use MVC in ASP.NET. you CAN create an MVC site that also runs asp.net pages. MVC does not have controls, or databindng. ASP.NET does. I think you''re very confused and don''t know what you''re asking.


ASP.Net和MVC是两回事.它不是许多人都误认为的ASP.Net的升级. ASP.Net Webform仍在开发中.

首先,请观看以下视频以了解基本概念.

查看PluralSight右侧的视频. [ ^ ]

一旦掌握了基本概念,就可以阅读以下电子书.
http://aspnetmvcbook.s3.amazonaws.com/aspnetmvc-nerdinner_v1.pdf [ ^ ]

所有这些,您都可以使用简单的Google搜索轻松找到.您不应该通过发布此类问题然后等待答案来浪费时间,而只能在Internet上搜索它.
ASP.Net and MVC are two different things. It is not an upgrade of ASP.Net as many have mistaken. ASP.Net Webform is still in development.

First get a basic idea by watching the following videos.

Overview[^]

Check the videos on right side from PluralSight.[^]

And once you get basic idea, you can read the following ebook.
http://aspnetmvcbook.s3.amazonaws.com/aspnetmvc-nerdinner_v1.pdf[^]

And all of these you can easily find using simple google search. You should not waste your time by posting such question and then waiting for an answer, instead you can just search it on internet.


Asp.Net Mvc是前端控制器模式,其中视图定义了模板对于数据呈现,MODel定义数据,然后控制器将模型与View握手.对于页面上的任何事件,侦听器都是控制器,它与Asp.Net在许多方面都不同.

Asp.Net是页面控制器模式,


检查此链接,应该会有所帮助

http://msdn.microsoft.com/en-us/library/dd566232.aspx [ ^ ]

如果要使用Asp.net MVC Web表单引擎,则可以使用大多数asp.net Web表单内容.
Asp.Net Mvc is front controller pattern, where views define templates for data rendering, MOdel defines the data, and controller handshakes the model to View.for any event on the page, listener is controller, it differs in many ways with Asp.Net.

Asp.Net is a Page Controller pattern,


check this link, should be helpful

http://msdn.microsoft.com/en-us/library/dd566232.aspx[^]

you can use most of the asp.net web forms stuff, if you are going with Asp.net MVC web forms engine.


这篇关于如何在asp.net中使用MVC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆