ArcGIS Runtime SDK for .NET: Building AppsMike Branscomb
Agenda
• Overview• Capabilities• Getting Started• Developer workflows• Resources
Overview
Device
ArcGIS Online
ArcGIS Enterprise
Overview – ArcGIS Runtime SDK for .NET
App
ArcGIS Runtime API
ArcGISRuntime
OGC ServicesLocal Data
Overview – ArcGIS Runtime SDK for .NET
• Enables you to build native apps:- WPF- Universal Windows Platforms apps (UWP)- Xamarin.Android- Xamarin.iOS- Xamarin.Forms (Android, iOS, UWP)
• Use all ArcGIS Runtime functionality
• Share your .NET/C# business logic code across platforms• Use platform-specific UI frameworks: Xamarin.Android, Xamarin.iOS, UWP, and WPF• Use Xamarin.Forms framework to share UI logic
- Supported on Android, iOS, and UWP.
Overview – ArcGIS RuntimeAn Architecture Designed to Maximize Performance and Reuse
C++ runtime core
WinLinux OS XAndroid iOS UWP
x86 x64 ARM ARM64DirectXOpenGLOpenGL ES
Overview – ArcGIS Runtime SDK for .NETAn Architecture Designed to Maximize Performance and Reuse
C++ runtime core
WinAndroid iOS UWP
x86 x64 ARM ARM64DirectXOpenGLOpenGL ES
Capabilities
Capabilities
Getting started
Installing ArcGIS Runtime SDK for .NET
• Add NuGet packages within Visual Studio- WPF, UWP, Xamarin.Android, Xamarin.iOS, Xamarin.Forms (Android, iOS, UWP)
• Visual Studio installation (VSIX) – Windows onlydevelopers.arcgis.com/downloads- Project templates for each supported platform- Local NuGet package source
What can you build?
• Apps from a template- Map-centric- Single platform- Cross-platform: Shared project or .NET Standard
• Extend your own apps - Add ArcGIS Runtime from a NuGet package- Existing projects- Non map-centric
• Class libraries- Encapsulate functionality for reuse on supported platforms
Developer Workflows
Developer Workflows – ArcGIS Runtime SDK for .NET
MyApp.Android MyApp.iOS MyApp.WPFMyApp.UWP
MyApp – ArcGIS Runtime & Xamarin APIs shared code
MyApp – ArcGIS Runtime API shared code
Developer Workflows – ArcGIS Runtime SDK for .NET
• Projects have application-specific properties- Compilation / debugging- Architecture (x86, x64…)- Packaging / signing- …
• Common platform and ArcGIS Runtime code- Shared project- .NET Standard project
• Docs / Xamarin / Cross-Platform / Sharing Code
Developer Workflows
https://github.com/Esri/arcgis-runtime-demos-dotnet
Developer Workflows
https://github.com/Esri/arcgis-runtime-demos-dotnet
Developer Resources
ArcGIS for Developers - developers.arcgis.com
• Your starting point for finding ArcGIS Runtime SDK resources- Sign up to receive credits for developing and testing your apps!
• Downloads- ArcGIS Runtime SDKs for all platforms
• Documentation- Developers guide, API reference, Samples documentation
• Samples- Focused samples to illustrate API functionality- Full example apps
• Tutorials- DevLabs: Data, Design, and Develop
• Toolkit
Start here!
Documentation
• Developers guide – developers.arcgis.com/documentation/- Conceptual documentation with focused examples (snippets)
- High-level documentation that applies to all ArcGIS Runtime SDKs- .NET-specific documentation
• API reference – developers.arcgis.com/net/latest/wpf/api-reference/- Documentation for each class and member in the API
• Sample documentation – developers.arcgis.com/net/latest/wpf/sample-code/- Brief description and screenshot of the sample- Relevant code (text)
Sample code
• Sample viewer projects github.com/esri/arcgis-runtime-samples-dotnet- Contains all source code for over 130 samples on all platforms- Small examples of focused API functionality- Add layers, create symbols, run a geoprocessing tool
• Demos - github.com/Esri/arcgis-runtime-demos-dotnet- Larger samples that illustrate some common workflows- Portal item browser, turn-by-turn routing, external GPS
• Example apps - developers.arcgis.com/example-apps/- Focused functional apps: indoor routing, map viewer, data collection- All source code (github.com/esri/)- Well documented and configurable
Tutorials and support
• DevLabs – developers.arcgis.com/labs/- Short focused tutorials- Most will take 15 minutes or less to complete- Guides you through all aspects of creating a custom map app
- Data – Import data, create a new dataset, share your content- Design – Style a web map, configure pop-ups- Develop – Search and geocode, display a map, access private layers
- Includes solution code (or data)
• GeoNet – ArcGIS Runtime SDK for .NET community.esri.com/community/developers/native-app-developers/arcgis-runtime-sdk-for-net/- Public forum for questions, discussion, blogs, etc.
Additional controls and utilities (toolkit)
• Toolkit project – github.com/Esri/arcgis-toolkit-dotnet- UI controls to provide additional functionality- Includes all source code and samples- Available as a NuGet package
- Compass- Layer legend- Scale line- Symbol display- Time slider- and more …
Example Apps
Learn from Esri developersProduction quality apps built by Esri developers and released open source for you to use
Don’t start from scratchReleased under Apache 2.0 license so you can make them your own
Receive the support you needBuilt and maintained by the Example Apps team
Help the community (if you want)Fix issues, submit PRs, and contribute your ideas and hard work to the community
https://developers.arcgis.com/example-apps/
Summary – ArcGIS Runtime SDK for .NET
• Enables you to build native apps:- WPF- Universal Windows Platforms apps (UWP)- Xamarin.Android- Xamarin.iOS- Xamarin.Forms (Android, iOS, UWP)
• Share your business logic code across platforms- Use platform-specific UI frameworks: Xamarin.Android, Xamarin.iOS, UWP, and WPF- Use Xamarin.Forms framework to share UI logic- Supported on Android, iOS, and UWP
• All ArcGIS Runtime capabilities• ArcGIS Developers site is your gateway to all SDK resources• Let us know what is missing from the SDK for your development!
Print Your Certificate of AttendancePrint Stations Located at L Street Bridge
Tuesday Wednesday12:30 pm – 6:30 pm GIS Solutions Expo Hall D
5:15 pm – 6:30 pm GIS Solutions Expo SocialHall D
10:45 am – 5:15 pm GIS Solutions Expo Hall D
6:30 pm – 9:00 pm Networking ReceptionNational Museum ofNatural History
Please Take Our Survey on the AppDownload the Esri Events app and find your event
Select the session you attended
Scroll down to find the feedback section
Complete answersand select “Submit”