What's the point of ASP.net AJAX in ASP.net MVC?

What's the point of ASP.net AJAX in ASP.net MVC?

月亮是我掰弯的 发布于 2021-11-24 字数 447 浏览 781 回复 2 原文

So ASP.net MVC by default ships with both JQuery and ASP.net Ajax. While the use cases of JQuery are obvious and plenty, I just wonder what the point of ASP.net Ajax is? If I just have my Controller Actions return JSON, I don't need it? Also, any "old" ASP.net controls only work if you use the Webforms view Engine (I think I want to use another one, but that's not the point).

What has ASP.net Ajax to offer in an MVC Environment?

如果你对这篇文章有疑问,欢迎到本站 社区 发帖提问或使用手Q扫描下方二维码加群参与讨论,获取更多帮助。

扫码加入群聊

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

花桑 2022-06-07 2 楼

ASP.NET AJAX is a bit different from JQuery it is sort of a large library of stuff and allows you to use similarly named APIs as you would in typical .NET programming. You have a bit more string functions and so forth. That being said, I typically bypass ASP.NET AJAX altogether and find most of what I need in JQuery and other smaller libraries. ASP.NET AJAX is a bit top heavy for my tastes but it does have its uses.

染柒℉ 2022-06-07 1 楼

Familiarity for those who are used to using the ASP.NET AJAX.