Deploying applications

Deploying a Viewer application follows the same pattern as deploying a regular Silverlight application. When you first click Deploy, the Viewer application deploys locally, then you must copy the resulting compiled Silverlight application (XAP [.xap]) file and supporting files to your production environment. See the following sections for details.

Deploying and saving locally

Once you have added the desired layers and configured the tools and layout of your Viewer application, click the Deploy button in the upper right corner of the Application Builder.

Deploy Viewer
The Viewer application deploys to the folder on disk corresponding to the Viewer application's uniform resource locator (URL) specified during the installation process. For example, with an application directory name of Apps and a Viewer application name of Hurricanes, the path to the folder might be C:\Inetpub\wwwroot\Apps\Hurricanes. The new Viewer application automatically opens in a new browser tab or window for viewing.
NoteNote:
Be sure to disable pop-up blockers or the new browser window will not open.

If you want to make additional changes, return to the browser tab or window with the Application Builder opened. Notice that the Deploy button has changed to a Save button. Click Save to update the application's configuration. Click Save As to create a copy of the current Viewer application.

Save and Save As options

All deployed Viewer applications are listed on the Home page that displays each time you open the Application Builder. You can also click the Home button in the Application Builder to navigate to the Home page. From this page, you can edit, copy, delete, and view each application. If there are no saved Viewer applications, you only see the introductory text and a button to create a new application.

Do the following to edit, copy, remove, or view deployed applications:

Viewer Home page

Deploying to a production environment

When you are ready to deploy your Viewer application to a production environment, copy the published web application folder or folders from your development machine to the Web resources directory of the target web server. For example, if you created a new application called "Site1," you would copy the Site1 folder from the Apps directory of your development machine to the production environment. Depending on the configuration of the target web server, you may then need to configure a virtual directory to point to the copied directory.

NoteNote:

ArcGIS Viewer for Silverlight is not required to be installed in the environment that hosts Viewer applications.

1/26/2015