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.
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.
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:
- Click the Edit Site button (pencil icon) to edit the Viewer application.
- Click the Copy Site button (copy file icon) to create a copy of the Viewer application.
- Click the Delete Site button (red delete icon) to delete the Viewer application.
- Click the URL to open the Viewer application in a new browser tab or window.
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.
ArcGIS Viewer for Silverlight is not required to be installed in the environment that hosts Viewer applications.