Load WebMap with Proxy

This sample demonstrates adding data in a WebMap document housed via ArcGIS Online (http://www.arcgis.com) in a WPF application. The WebMap.GetMapAsync Method call takes a Globally Unique Identifier (GUID) for the WebMap service provided by ArcGIS Online to obtain the geographic data layers. The WebMap’s GetMapCompletedEventArgs.Map Property is used to add a Map Class to the WPF application for visual display. The sample uses the ProxyUrl Property to demonstrate how a proxy service brokers web requests between the WPF client and the ArcGIS Online service that exposes a WebMap document. Use a proxy service when the WebMap document is not hosted on a site that provides a cross domain policy file (clientaccesspolicy.xml or crossdomain.xml).

Download Sample Application
XAML C# VB.NET
<UserControl x:Class="ArcGISWPFSDK.LoadWebMapWithProxy"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:esri="http://schemas.esri.com/arcgis/client/2009">
    <Grid x:Name="LayoutRoot" >

    </Grid>
</UserControl>

Sample code usage restrictions
5/16/2014