Download presentation
Presentation is loading. Please wait.
Published byPierce Lindsey Modified over 9 years ago
1
Esri UC 2014 | Demo Theater | Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks Rich Zwaap Morten Nielsen
2
Esri UC 2014 | Demo Theater | This session should be known as… Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
3
Esri UC 2014 | Demo Theater | 1. Install the SDK from NuGet Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
4
Esri UC 2014 | Demo Theater | http://www.nuget.org/packages/Esri.ArcGISRuntime/ http://www.nuget.org/packages/Esri.ArcGISRuntime.Toolkit Note: 10.2.3 beta only includes WinStore and WinPhone. WinDesktop by final… 1. Install the SDK from NuGet Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
5
Esri UC 2014 | Demo Theater | Designer only works in x86 or AnyCPU mode. Use AnyCPU for Windows Desktop* Windows Store and Windows Phone: AnyCPU not supported. Windows RT and Windows Phone hardware: ARM Windows Phone Emulator: x86 Windows x64: x64 or x86 will both work Windows x86: x86 2. AnyCPU vs x86 vs x64 Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
6
Esri UC 2014 | Demo Theater | Download from http://esriurl.com/SharedProjectRefhttp://esriurl.com/SharedProjectRef Or install from Visual Studio: VS2014 CTP2 now has this built in. 3. Shared Project Reference Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
7
Esri UC 2014 | Demo Theater | Add to project by right-clicking References and selecting “Add Shared Project Reference…” 3. Shared Project Reference Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
8
Esri UC 2014 | Demo Theater | MVVM: Model-View-ViewModel - Separate data from view via viewmodel - Allows unit-testing all your code - Reuse viewmodel and model across platforms. - Adapt just the view to the device Make it easy using “Shared Projects” - Windows Phone and Windows store: Known as ‘Universal App’ 4. Re-use -> code sharing -> MVVM Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
9
Esri UC 2014 | Demo Theater | Beta (currently): Separate download + install from beta community Final: - Built into setup - NuGet users: Available in the Visual Studio Gallery 5. Project templates Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
10
Esri UC 2014 | Demo Theater | WPF: One xml namespace to rule them all xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013" Windows Store and Windows Phone: xmlns:esri="using:Esri.ArcGISRuntime.Controls" xmlns:layers="using:Esri.ArcGISRuntime.Layers" xmlns:geometry="using:Esri.ArcGISRuntime.Geometry" xmlns:location="using:Esri.ArcGISRuntime.Location" xmlns:data="using:Esri.ArcGISRuntime.Data" xmlns:toolkit="using:Esri.ArcGISRuntime.Toolkit.Controls" 6. XML Namespaces Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
11
Esri UC 2014 | Demo Theater | 7. Local data and operations Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks Great advantage of.NET Runtime SDK vs predecessors and web APIs - Phenomenal display and computational performance - Inherently robust – not dependent on network connectivity -and/or- 2. Use offline data – tile packages, geodatabases, locators, network datasets 1. Take map services offline, use disconnected, and sync when re-connected -then- 3. Perform query, geometry operations, routing, geocoding locally on the client
12
Esri UC 2014 | Demo Theater | Navigation events are tasks you can wait for. Navigation tasks return false if cancelled. True if completed bool completed = await mapView.SetViewAsync(center, scale); String them together: bool completed = await mapView.SetViewAsync(fullExtent) && await mapView.SetViewAsync(center) && await mapView.SetViewAsync(center, 10000); 8. Jump-zoom Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
13
Esri UC 2014 | Demo Theater | The MVVM sample. Lots of good tidbits in it. Poke around in it. Take things from it. Learn from it. - Almost everything applies to Windows Desktop and Windows Phone as well. Rebrand the app for your organization and lock it to your org. www.github.com/Esri/arcgis-portalviewer-dotnet Install it from the store today! Just search for ‘ArcGIS’. 9. Windows Store Portal Viewer sample Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
14
Esri UC 2014 | Demo Theater | github.com/Esri/arcgis-toolkit-dotnet Download source, learn from, modify and rebuild Submit issues and suggestion to the toolkit Submit pull-requests (please read first guidelines though) 10. Toolkit source - modify/contribute Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
15
Esri UC 2014 | Demo Theater | How to License At the Basic Level http://developers.arcgis.com Under Application section, create a New Application (or select existing) Click on Runtime SDK Licensing Copy the Client ID and use it to set your clientID Developing Mobile Apps with the ArcGIS Runtime SDK for.NET
16
Esri UC 2014 | Demo Theater | You have 2 options: 1. Use an organization account (ArcGIS Online or Portal for ArcGIS) - Requires users of your app to log in with their account 2. Use a license string obtained from Customer Service or your international distributor - License burnt into the app - Extensions can also be added with this option For more info speak to sales or product management Developing Mobile Apps with the ArcGIS Runtime SDK for.NET How to License At the Standard Level
17
Esri UC 2014 | Demo Theater | ArcGIS Runtime SDK Sessions – Tuesday Session NameTimeLocation Migrating Your WPF Apps to ArcGIS Runtime SDK for.NET 12:30pm – 1:00pmDeveloper Island (demo theatre) ArcGIS Runtime Offline APIs3:30pm – 4:00pmDeveloper Island (demo theatre) Developing Apps with ArcGIS Runtime SDK for Android 8:30am – 9:45amRoom 15 B Developing iOS and Mac Apps with ArcGIS Runtime SDK 10:15am – 11:30amRoom 31 C Developing Java Apps with ArcGIS Runtime SDK 3:15pm– 4:30pmRoom 31 C Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
18
Esri UC 2014 | Demo Theater | ArcGIS Runtime SDK Sessions – Wednesday Session NameTimeLocation Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks 11:30am – 12:00pmDeveloper Island (demo theatre) Offline Routing and Geocoding in ArcGIS Runtime SDK 3:00pm – 3:30pmGeneral Theater 2 (demo theatre) Developing Windows Desktop Apps with ArcGIS Runtime SDK for.NET 8:30am – 9:45amRoom 09 Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
19
Esri UC 2014 | Demo Theater | ArcGIS Runtime SDK sessions Thursday Session NameTimeLocation Dive Deep into the Performance of the ArcGIS Runtime SDKs Core Display Architecture 10:30am – 11:00amDeveloper Island (demo theatre) Developing Mobile Apps with ArcGIS Runtime SDK for.NET 10:15am – 11:30amRoom 05 A ArcGIS Runtime SDKs: The Road Ahead 1:30pm – 2:45pmRoom 07 A/B Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
20
Esri UC 2014 | Demo Theater | Thank you… Please fill out the session survey: Offering ID: 1347 Online – www.esri.com/ucsessionsurveyswww.esri.com/ucsessionsurveys Paper – pick up and put in drop box Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
21
Esri UC 2014 | Demo Theater | Building.NET Apps with ArcGIS Runtime SDK: Tips and Tricks
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.