Which two actions should you perform?

You are implementing an ASP.NET application that makes extensive use of JavaScript libraries.
Not all pages use all scripts, and some scripts depend on other scripts.
When these libraries load sequentially, some of your pages load too slowly.
You need to use the ASP.NET Ajax Library Script Loader to load these scripts in parallel.
Which two actions should you perform? (Each correctanswer presents part of the solution. Choose two.)

You are implementing an ASP.NET application that makes extensive use of JavaScript libraries.
Not all pages use all scripts, and some scripts depend on other scripts.
When these libraries load sequentially, some of your pages load too slowly.
You need to use the ASP.NET Ajax Library Script Loader to load these scripts in parallel.
Which two actions should you perform? (Each correctanswer presents part of the solution. Choose two.)

A.
In your site’s master page, add a call to Sys.loader.defineScripts to define each of the scripts that are used
in the site.

B.
In your site’s master page, add a call to Sys.loader.registerScript to define each of the scripts that are used
in the site.

C.
In each page that uses scripts, add a call to Sys.get for each script that is needed in that page.

D.
In each page that uses scripts, add a call to Sys.require for each script that is needed in that page.



Leave a Reply 0

Your email address will not be published. Required fields are marked *