What is the future of Sys.require, the ASP.NET AJAX script loader?

Does anyone know if this script will continue to have a future or is it a DOA and be replaced by another component? I use its functionality a lot and would like to know if there is a better alternative or what awaits in the future ...

To clarify, I'm talking about asynchronous loaders in start.js.

+4
source share
4 answers

None of the ASP.NET Ajax library (not to be confused with ASP.NET AJAX) was officially released, and development on it stopped before its completion. You should not use it. I wrote an article on this subject.

In the same team, Microsoft introduced a new script loader, DeferJS, which is the next logical evolution of Sys.require. Here you can find the latest version: https://github.com/BorisMoore/JsDefer

+5
source

There will be no further development in sys.require, but existing scripts and services will not disappear. Microsoft has taken significant steps to ensure backward compatibility with older technologies, so there is no reason to think that what you are working on will suddenly stop working at some point in the near future.

Microsoft seems to be heading towards integration with the open source jQuery library. Here's a blog post about it: http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx . jQuery is very powerful and flexible, and has built-in support , as well as many plug-ins for AJAX .

0
source

There is also RequireJS (http://requirejs.org/), which is quite mature and somewhat easier to use. This is not from Mircosoft, but may be worth a look.

0
source

Maybe you can try this

it is an extensible resource loader, and it tracks dependencies.

0
source

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


All Articles