Dynamic Layer Online
This sample includes a Map and a DynamicMapServiceLayer and demonstrates how to add an ArcGIS Server dynamic (non-cached) map service layer to a map. Use ArcGIS Server Services Directory to discover the Url to reference the map service.
Download Sample Application<UserControl x:Class="ArcGISWPFSDK.DynamicMap" 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" Background="White" > <esri:Map x:Name="MyMap" Background="#FFE3E3E3"> <esri:ArcGISDynamicMapServiceLayer ID="MyLayer" Url="http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer"/> </esri:Map> </Grid> </UserControl>
5/16/2014