jQuery的VS MicrosoftAjax在ASP.NET MVC [英] jQuery vs MicrosoftAjax in ASP.NET MVC

查看:198
本文介绍了jQuery的VS MicrosoftAjax在ASP.NET MVC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在你会在一个ASP.NET MVC应用程序中使用过MicrosoftAjax jQuery的?什么情况下

Under what circumstances would you use MicrosoftAjax over jQuery in an ASP.NET MVC application?

据斯科特·凯特在这个播客面向对象的AJAX与斯科特凯特 MicrosoftAjax是良好的发送和检索数据,并从该服务器。和jQuery是良好的,一旦它到达客户端通过DOM操作数据。然而,用一个简单的表格的jQuery插件,您可以使用jQuery发送和检索数据很容易。常与code一行。

According to Scott Cate in this podcast Object Oriented AJAX with Scott Cate MicrosoftAjax is good for sending and retrieving data to and from the server. And jQuery is good for manipulating your data via the DOM once it arrives at the client. Yet, with a simple form plugin for jQuery you can send and retrieve data with jQuery quite easily. Often with a single line of code.

所以我不知道有什么区别ASP.NET MVC中MicrosoftAjax和jQuery的?

So I'm wondering what the difference is between MicrosoftAjax and jQuery within ASP.NET MVC?

推荐答案

去使用jQuery - 即使微软已经看到了他们的方式错误。 Visual Studio中的下一个版本将包括jQuery和具有智能感知支持。你也完全正确就简单的插件。 MS阿贾克斯,而有时更容易开始工作,缓慢而臃肿。

Go with jQuery - even Microsoft has seen the error of their ways. The next version of Visual Studio will include jQuery and support it with intellisense. You're also entirely correct regarding the simple plugin. MS Ajax, while sometimes easier to work with initially, is slow and bloated.

这篇关于jQuery的VS MicrosoftAjax在ASP.NET MVC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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