dojo.require

1766
1
06-21-2016 02:24 AM
MahmoudSharif
New Contributor

Hi all how are you

my question today is about arcgis js api, I use it in my **Asp.Net** project and it is very good but, there is a problem that I use dojo.require and I noticed that it makes about 80-90 network requests to load js files

so I decided to find a solution for this and tried bundling them using asp.net **bundleconfig** class but no luck with this

so any suggested solutions will be appreciated

thank you

0 Kudos
1 Reply
PanagiotisPapadopoulos
Esri Regular Contributor

Using Bower (A package manager for the front-end web development) is another option for developers of the JavaScript API to generate custom builds of the ArcGIS API for JavaScript.

or you can use The ArcGIS API for JavaScript Web Optimizer, is a web application that generates custom builds of the ArcGIS API for JavaScript. The advantage of using a custom build is that your application downloads and parses only the required JavaScript resources for your specific application, making your application load faster.

See here,

Get the ArcGIS API for JavaScript | Guide | ArcGIS API for JavaScript

0 Kudos