Calling Azure Mobile Services from Native Apps with Xamarinfiles.meetup.com/3775982/Azure Meetup...

Post on 28-May-2020

5 views 0 download

transcript

Calling Azure Mobile Services from Native Apps with Xamarin

November 2014

Alec TuckerHead of Mobile Product Development, APAC

White Clarke GroupXamarin Insider

#SydMobNet

Alec Tucker

Head of Mobile Product Development, APAC for The White Clarke GroupXamarin Certified, Xamarin InsiderSydney Mobile .Net Developers Group

www.meetup.com/SydneyMobileDotNetDevelopers

Atlanta | Beijing | London | Munich | Sydney | Toronto | Vienna

#SydMobNet

Agenda

• Introduction to Xamarin

• Cross Platform UI with Xamarin Forms using Mvvm

• Demo of a simple Xamarin Forms app

• Adding Cloud Data with Offline Support using Azure Mobile Services

#SydMobNet

Introduction to Xamarin

#SydMobNet

Cross Platform UI with Xamarin Forms using Mvvm

Until recently…

Shared UI Code

#SydMobNet

Introduction to Xamarin

…and in the futureXamarin.Forms Partners announcement at Evolve 2014

#SydMobNet

Until Recently

Shared code with platform specific UI layer for each supported platform

#SydMobNet

Dev Environment

• Visual Studio Professional or higher with a Xamarin Business License• Xamarin Studio with any Xamarin license• A Mac is required for iOS builds• Xcode, iOS SDK, ADK• My setup: MacBook Pro, VMWare Fusion Win8.1, Visual Studio 2013 Ultimate, Xamarin

Business License

Step by Step Guide by Andrew Coates• https://github.com/MvvmCross/MvvmCross/wiki/Setting-up-a-Cross-Platform-Build-

Environment

#SydMobNet

Demo of a simple Xamarin Forms app

#SydMobNet

Adding Cloud Data with Offline Support using Azure Mobile Services

• Nuget package• Currently pre-release

• Gotchas• Manually remove System.IO, System.Runtime and System.Threading.Tasks from the iOS

project and from the Android project

• Initialise in each platform specific project

#SydMobNet

Walkthrough a Adding Azure Mobile Services

Contact Details

Group

• http://www.meetup.com/SydneyMobileDotNetDevelopers/

Xamarin

• www.xamarin.com

Contact

Alec Tucker• atucker@whiteclarkegroup.com• @alecdtucker• blog.alectucker.com• linkedin.com/in/alectucker

#SydMobNet