2-655.pptx

Overview of Cross-Platform Mobile Development with Office 365

1.0x

2-655.pptx

Created 2 years ago

Duration 0:00:00
lesson view count 19
Overview of Cross-Platform Mobile Development with Office 365
Select the file type you wish to download
Slide Content
  1. Richard diZerega (@richdizz)

    Slide 1 - Richard diZerega (@richdizz)

    • http://www.richdizz.com
    • Principal Software Engineer - Microsoft
    • Overview of Cross-Platform Mobile Development with Office 365
    • 2-655
    • //build/ content is being presented by Microsoft Office Mix The video for this session will be available shortly
  2. Session Objectives

    Slide 2 - Session Objectives

    • Explore developer options for building cross-platform mobile apps with Office 365
    • Discuss considerations for integrating Office 365/Azure SDKs into Cordova and Xamarin projects
    • Outline software/service requirements for developing cross-platform Office 365 apps in Visual Studio
    • Key Takeaways
    • Microsoft provides comprehensive SDKs and APIs for building cross-platform Office 365 apps
    • Visual Studio provides the premier developer experience for building cross-platform Office 365 apps
    • Cross-platform development with Office 365 isn’t without pitfalls, but they are easily resolved
    • Session Objectives and Takeaways
  3. Native Office 365 Apps

    Slide 3 - Native Office 365 Apps

    • Apache Cordova
    • Developer Setup
    • Structure
    • Code
    • Xamarin
    • Developer Setup
    • Structure
    • Code
    • Agenda slide
  4. Slide 4

    • DATA
    • USERS
    • HTML
    • Developer vision
  5. Native Office 365 Apps and Azure AD

    Slide 5 - Native Office 365 Apps and Azure AD

  6. Simple REST/OData Service APIs

    Slide 6 - Simple REST/OData Service APIs

    • Many are wrapped in strongly-typed SDKs (SharePoint, Exchange, Azure AD)
    • Part of Azure AD Common Consent Framework
    • Leverages Azure AD OAuth
    • Supports both delegated and application permissions
    • Office 365 APIs
  7. Single authentication flow

    Slide 7 - Single authentication flow

    • Across all Office 365 services
    • Device apps and web sites
    • Admin and end-user consent
    • Secure protocol
    • OAuth 2.0
    • No capturing user credentials
    • Fine-grained access scopes
    • Supports MFA and federated user sign-in
    • Long-term access through refresh tokens
    • Azure AD OAuth in Office 365
  8. Launch Services

    Slide 8 - Launch Services

    • MyFiles (OneDrive for Business)
    • Sites (SharePoint Online)
    • Calendar (Exchange Online)
    • Contacts (Exchange Online)
    • Mail (Exchange Online)
    • Users/Groups (Azure AD)
    • NEW Services
    • OneNote with Office 365
    • User Profiles (SharePoint Online)
    • Managed Metadata (SharePoint Online)
    • Videos (SharePoint Online)
    • Modern Groups
    • Office Graph
    • Office 365 APIs (continued)
    • Not limited to Office 365
    • Power BI
    • Dynamics CRM Online
    • 3rd Party Applications/Services
    • Your Own Applications/Services
  9. Inherently multi-tenant

    Slide 9 - Inherently multi-tenant

    • No client/app secret (think about distribution)
    • Leverage a web authentication broker (via ADAL)
    • No controls/UI…just data endpoints
    • No application-only permissions (can go through proxy service)
    • Unique Considerations of “Native” Azure Apps
  10. Apache Cordova with Office 365

    Slide 10 - Apache Cordova with Office 365

  11. Development Setup

    Slide 11 - Development Setup

    • IDE: Visual Studio 2013 w/ Update 4 and VS Tools for Cordova CTP3.1
    • App Registration: Add Connected Service Wizard
    • SDK Integration: Add Connected Service Wizard
    • Solution Structure
    • Office 365 assets installed under /services/office365
    • Settings.js defines app details (client id, app redirect, etc)
    • o365Loader.js dynamically adds Office 365 SDK references to pages
    • Additional Tips/Gotchas
    • Web Authentication Broker can be tricky…reload browser plug-in
    • o365Loader.js doesn’t tell you when scripts are done loading
    • Numerous Cordova plug-ins exist for rich device integration
    • Must have a Mac to build/debug on iOS (vs-mda-remote)
    • Cordova with Office 365
  12. Slide 12

    • Demo
    • Cordova with Office 365
  13. Related Sessions

    Slide 13 - Related Sessions

  14. Xamarin with Office 365

    Slide 14 - Xamarin with Office 365

  15. Development Setup

    Slide 15 - Development Setup

    • IDE: Visual Studio 2013 with Xamarin Studio*
    • App Registration: Add Connected Service Wizard
    • SDK Integration: Add Connected Service Wizard
    • Solution Structure
    • Xamrin project templates for device-specific platforms or shared
    • Shared projects use shared portable libraries and device-specific projects Xamarin.Forms allows UI layouts to be shared but render native controls across Android, iOS and Windows (can also leverage native layouts)
    • Additional Tips/Gotchas
    • Need Xamarin.iOS installed on Mac to build/debug iOS projects
    • Must create binding projects of ADAL for iOS/Android OR manual OAuth
    • ADAL v3 is in alpha preview, but really unifies the OAuth process
    • Install-Package Microsoft.IdentityModel.Clients.ActiveDirectory -Version 3.1.203031538-alpha -Pre
    • Xamarin with Office 365
  16. Slide 16

    • Demo
    • Xamarin with Office 365
  17. Related Sessions

    Slide 17 - Related Sessions

  18. Office 365 Dev Mobile Code Samples

    Slide 18 - Office 365 Dev Mobile Code Samples

    • http://dev.office.com/code-samples
    • Visual Studio Tools for Apache Cordova 3.1
    • http://www.microsoft.com/en-us/download/details.aspx?id=42675
    • ADAL v3 NuGet
    • https://www.nuget.org/packages/Microsoft.IdentityModel.Clients.ActiveDirectory/3.1.203031538-alpha
    • Ultimate Guide to ADAL Bindings for iOS and Android
    • http://www.matvelloso.com/2014/07/01/adal-bindings-xamarin-ios-applications-ultimate-guide/
    • Helpful Links
  19. Questions???

    Slide 19 - Questions???

  20. http://dev.office.com/devprogram

    Slide 20 - http://dev.office.com/devprogram

    • Developer Program Launch
    • E-mail Newsletters
    • Free Developer Subscription
    • 1 YEAR FREE
    • Free Training
    • Free Tools
    • Webinars
  21. Call to action

    Slide 21 - Call to action

    • Sign up for Developer Program
    • Collect your stickers at //build
    • Check out the express talks
  22. Improve your Office 365 development skills by enrolling in our specially designed courses in MVA.

    Slide 22 - Improve your Office 365 development skills by enrolling in our specially designed courses in MVA.

    • Get started with Office 365 Developer Pack.
    • Try Microsoft Azure for free and deploy your first Office 365 solution today!
    • Resources