Select to view content in your preferred language

Can we use IIS instead of NODE.js?

1009
3
11-25-2014 12:11 PM
MichaelJenkins
Frequent Contributor


Pretty basic question, but I've been able to get the WAB Developer Edition to run locally on my machine, but I find the NODE.js web server it uses to be pretty slow and cumbersome.  Can we just use IIS as the server instead?

And a related question, once we create an app with the WAB and save it, we have a JavaScript web application in the "app" folder.   Can I then move that web app out of the WAB file structure and place it in IIS for users to access?

GISP
Tags (2)
0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Michael,

   I don't have a definite answer on Question one but I am going to lean towards NO.

As far as taking something from the apps folder and moving it to IIS, the answer is yes. You can also click download from inside WAB and it will give you a zip of everything need to move to IIS.

0 Kudos
MichaelJenkins
Frequent Contributor

From  I've been able to understand about NodeJS, the WAB is probably using it because of all of the file writing it has to do.   It must me easier or somehow more efficient for them to use nodeJS rather than figuring out and documenting all the web server settings they would need on apache or IIS.

As for hosting the resulting App on IIs, I have tried this and it works in Chrome and FF but not in IE10 on my machine.  For some reason the URL paths to jsapi files is messed up.   If When I figure this out, I will post a message here in case anyone else has the same problem.  I think it is strange that it works in Chrome but not IE.

IE404.png

GISP
0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Michael,

   That looks like an issue with the JS API reference in your app. Have you looked at the help docs about this?

http://localhost:3344/webappbuilder/help/#/Change_URL_of_ArcGIS_API_for_JavaScript/03w30000000m00000...

0 Kudos