Client library or AJAX Control toolkit? - ASP.NET

For a smooth user interface, I decide to use the client-side library ( JQuery or ExtJS ) or switch to the AJAX Control toolkit . I understand that the widgets supported by the ExtJS rich library do not match what is in the toolbox.

What are the pros of using one over the other?

+4
source share
3 answers

I would choose the AJAX Control Tool Kit + PageMethods (avoid UpdatePanel, it is easy to use at the beginning, but can be a real nightmare) + JQuery to parse / display the results of the page methods.

PageMethods are really easy to use.

But don't use ajax toolkit controls, it’s easy to make the main material, but when you want to be more specific, you are struggling with the toolkit (sometimes you have a bug with IE, but not with FF, it's really fun).

+3
source

I am an asp.net developer and php + joomla developer. With due respect to Microsoft, I'm completely fed up with ASP.net AJAX. Working with Asp.net Ajax sucks (sorry my French).

  • You do not have full control over your html code because it generates freaky divs.

  • Asp.net Ajax carries the dead weight of the code and javascripts with it, thus consuming a lot of bandwidth, which affect the response time to page loading.

  • If you upgrade from asp.net AJAX, you will be limited to this.

  • JQuery is very fast and can be implemented as soon as possible.

  • Jquery contains thousands of plugins developed by the community and free of charge.

  • If you have any javsacript error with asp.net AJAX, it takes a long time to solve it, or you need to change the code to a different concept. I mean, its hard to debug the asp.net azax code.

After I tried using asp.net ajax, I finally landed on jquery and am very happy to use it. One thing to be clear, I'm here in no way promoting jquery.

But using jquery is much simpler, more flexible, and more performance oriented than ASP.NET AJAX.

+1
source

From my point of view, vendor-specific platforms, such as AJAX management tools, benefit only from ecosystems and examples published by this particular vendor (and third-party developers). In this case, only Microsoft and ASP.NET developers.

In the case of vendor agnostic tools such as jquery, you benefit from all types of web developers who publish blogs and articles: ruby, python, coldfusion, asp.net, etc.

So, my voice is usually used for jQuery, unless there is a specific reason (i.e. specific control) that I absolutely must use from ajax management tools. And even in those cases, most likely someone has a jquery plugin that will be equivalent.

0
source

Source: https://habr.com/ru/post/1302143/


All Articles