Getting started with Visual Studio

To enhance the developer experience, custom project templates have been added to the Visual Studio integrated development environment (IDE). The ArcGIS Runtime SDK for WPF Integration Framework is an optional installation feature included with the ArcGIS Runtime SDK for WPF install. A project template includes all the files and property settings necessary to begin a specific type of WPF project. You can create new projects for customization by using a project template. The project template is available in the languages Visual C# or Visual Basic.

The ArcGIS Runtime SDK 10.2.5 for WPF Application template demonstrates how to add online and local service layers to your application.

Getting started with the template

Working with local data

<!-- Local Tiled Basemap Layer -->
<esri:ArcGISLocalTiledLayer ID="arcGISLocalTiledLayer" Path="C:\Program Files (x86)\ArcGIS SDKs\WPF10.2.5\sdk\

<!--Local Dynamic Layer-->
<esri:ArcGISLocalDynamicMapServiceLayer ID="arcGISLocalDynamicMapServiceLayer" 
Path="C:\Program Files (x86)\ArcGIS SDKs\WPF10.2.5\sdk\samples\data\mpks\USCitiesStates.mpk"/>
<!--Local Feature Layer-->
<esri:ArcGISLocalFeatureLayer ID="arcGISLocalFeatureLayer" 
Path= "C:\Program Files (x86)\ArcGIS SDKs\WPF10.2.5\sdk\samples\data\mpks\USCitiesStates.mpk" LayerName="Cities"/>

LocalMapService.GetServiceAsync(@"C:\Program Files (x86)\ArcGIS SDKs\WPF10.2.5\sdk\samples\data\mpks\USCitiesStates.mpk", (localMapService) =>
                ArcGISLocalDynamicMapServiceLayer arcGISLocalDynamicMapServiceLayer = new ArcGISLocalDynamicMapServiceLayer()
                    Service = localMapService,
                    ID = "Cities",

Related Topics