This project contains samples for the ArcGIS Runtime SDK for .NET including WPF, UWP and Xamarin platforms.
See each platform's TOC:
Fork and then clone the repo or download the .zip file.
Confirm the supported system configuration for the API of interest in the ArcGIS Runtime SDK for .NET:
For the platform you want to view: open the solution, restore NuGet packages, build, and run the application
Authentication: Use of Esri location services, including basemaps and geocoding, requires either an ArcGIS identity or an API key.
For more information see https://links.esri.com/arcgis-runtime-security-auth.
The .NET sample viewers have a prompt for setting an API key. You can also hardcode your API key in the
GetLocalKey() method of the
When compiling Universal Windows Platform samples, make sure that you are compiling against x86/x64/ARM platform and not using AnyCPU.
Several samples require local data to function properly. That data is downloaded to local storage automatically at runtime.
This process is handled by the
DataManager class (located in the 'Managers' folder in each view project). Samples
that use the data manager to download their data are differentiated as follows:
RequiresOfflineDataset to true in their metadata.json files
DataItemIdsin their metadata.json files (these are portal item Ids)
See the contribution guidelines for more detailed information.
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Anyone and everyone is welcome to contribute.
Esri uses several tools to more efficiently manage the content in this repo. See Tools for more information.
Copyright 2021 Esri
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
A copy of the license is available in the repository's license.txt file.