55

TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Embed Size (px)

DESCRIPTION

Video: http://channel9.msdn.com/Events/TechEd/Europe/2014/DEV-B306 Abstract: Visual Studio developers have two powerful options for developing multi-device applications: Cordova and Xamarin. Cordova support in Visual Studio enables you to ship mobile applications written with HTML/JS, while Xamarin enables developers to use Visual Studio to write native applications for iOS, Android, and Windows Phone using C#. This session shows you how to use the Microsoft Office 365 APIs in mobile device applications built in these project types to take advantage of the many services in Office 365. The Office 365 APIs make available the following services: Azure Active Directory Users and Groups, Files (OneDrive and OneDrive for Business), Mail, Calendar, Contacts and SharePoint Sites. See some examples of Xamarin and Cordova applications running. Understand the scenarios where you would use Office 365 APIs in mobile device applications. Finally, learn how to get started with Office 365 APIs in Xamarin and Cordova Visual Studio Projects.

Citation preview

Page 1: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 2: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 3: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 4: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 5: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

James Montemagno!Developer Evangelist, Xamarin!

@JamesMontemagno !!motzcod.es!

MyStepCounterApp.com!

Page 6: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 7: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Native with Code Sharing

Page 8: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 9: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Windows APIs

Page 10: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

iOS

100% APIs Coverage

Page 11: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Android

100% APIs Coverage

Page 12: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

§ § § § 

Page 13: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Xamarin.iOS does full Ahead Of Time (﴾AOT)﴿ compilation to produce an ARM binary for Apple’s App Store.

Xamarin.Android takes advantage of Just In Time (﴾JIT)﴿ compilation on the Android device.

Page 14: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Full support for: Google Glass, Android Wear, Amazon Fire TV

Page 15: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 16: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 17: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 18: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 19: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 20: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 21: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 22: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

!!!!!!

Page 23: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 24: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 25: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 26: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Create native iOS, Android, Mac and Windows apps in Visual Studio and C#

Page 27: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Automatically test your app on thousands of real devices in the cloud.

Page 28: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Real-time monitoring. Track crashes and exceptions to understand what is happening with live users

Page 29: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 30: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Xamarin enables C# developers to create native iOS, Android, Mac, and Windows apps leveraging their C# and .NET skills, and use all of your favorite .NET libraries.

Xamarin apps look and feel native because they are native. You get 100% API access on every device and with Xamarin you are always up to date.

Use the tools you love like Visual Studio to debug and analyze iOS and Android apps with all of the debugging capabilities such as breakpoints and watch windows. Share on average 70%+ code between all mobile apps with the ability to connect to all of your favorite services like Azure Mobile Services, Office 365, and more.

Summary

Page 31: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 32: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 33: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Mobile apps are part of a broader modernization

Core-‐Business Applications

Mobile

Cloud

Agile

Extend to any device

Take advantage of cloud scale and economics

Business agility

Page 34: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Approaches for device development

Native Web

Tool maturity

Device optimized experience

Updatability

Portability across devices

Page 35: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Microsoft supports your choice

Desktop apps Universal Windows apps

Browser-‐based applications

Page 36: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Web and hybrid apps

!

!

Black Box

CSS | HTML JavaScript | TypeScript

Page 37: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Microsoft solution for mobile apps

Page 38: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Hybrid mobile app development using Visual Studio

Page 39: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Black Box

HTML | JavaScript | CSS 1 Shortest path for cross-‐platform

mobile apps

2 Use your existing skillsets such as HTML, JavaScript, and .NET

3 Build apps using open-‐source front-‐end frameworks such as AngularJS, BackboneJS, or WinJS

Multi-‐device hybrid app: scenarios and benefits

Page 40: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Using device capabilities and integration with Office 365

Page 41: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Using device capabilities

Access device-‐specific capacities through plugins. Out-‐of-‐the-‐box plugins include Geolocation, File System, Network, Media, and many more.

!   Use device capabilities from your app

!   Office 365 API Tools for JS Download Office 365 API Libraries for Javascript using Visual Studio tooling

Page 42: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Device testing and debugging

Page 43: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Testing, emulators, and debugging

!

!

Page 44: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Debugging

!

!

Page 45: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 46: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Office365ApiService.getContacts();  

Page 47: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs
Page 48: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Microsoft developer platform and tools

Page 49: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

http://xamarin.com http://aka.ms/vscordova

Page 50: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

James Montemagno Developer Evangelist, Xamarin

[email protected] @JamesMontemagno

Jason Short Senior Technical Evangelist, Microsoft

[email protected] @InfiniteCodex

Page 51: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

summit.office.com

Add screens shot from link

Page 52: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

Developer Patterns & Practices

Make look cool

aka.ms/OfficeDevPnP

Page 53: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

www.office.com/roadmap

Page 54: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs

http://aka.ms/OfficeDevFeedback

Page 55: TechEd Europ 2014 DEV-B306 Building Multi-Device Applications with Xamarin and Cordova with Office 365 APIs