SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph
-
Upload
sebastien-levert -
Category
Technology
-
view
811 -
download
1
Transcript of SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph
![Page 1: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/1.jpg)
Sponsors
![Page 2: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/2.jpg)
Introduction to AngularJS with the Microsoft GraphSébastien Levert, Office Servers & Services MVP @ Negotium Technologies
![Page 3: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/3.jpg)
Who’s Sébastien Levert
Montreal, Canada negotium.comOffice Servers &
Services MVP
Web Developer @sebastienlevertSebastienlevert.co
m
![Page 4: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/4.jpg)
AgendaAngularJSMicrosoft GraphAzure ADDemosResources
![Page 5: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/5.jpg)
AngularJS1
![Page 6: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/6.jpg)
Superheroic JavaScript MVW frameworkDeveloped by GoogleStarted in 2009Used by Netflix, Youtube, Vevo, MSNBC, …, You ?A game changer in web developmentAngular 2.0 coming in 2015 2016
What is AngularJS ?
![Page 7: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/7.jpg)
Getting closer to client-side developmentStart thinking like a web developer, not like a SharePoint developerLiving on the edgeBuilding applications faster, with less codeBecause everyone is heading towards it
Why AngularJS ?
![Page 8: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/8.jpg)
AngularJS is very… Trendy!
![Page 9: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/9.jpg)
Architecture patternEnhanced HTML templating2-way data-bindingRouting engineDependency injectionUnit testing
Key concepts
![Page 10: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/10.jpg)
Microsoft Graph2
![Page 11: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/11.jpg)
Developer vision
HTML
DATAUSERS
![Page 12: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/12.jpg)
Building integration with Office 365
![Page 13: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/13.jpg)
Microsoft Graph API
https://graph.microsoft.com/
Your App
USERS FILES MAIL CALENDARGROUPS
Insights and relationships from Office Graph
TASKS
![Page 14: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/14.jpg)
Single resource that proxies multiple Microsoft servicesAllows for easy traversal of objects and relationshipsSimplifies token acquisition and managementEliminates the need to traditional discovery (using “me” and “myorganization”)
Microsoft Graph, gateway to Office 365
![Page 15: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/15.jpg)
Demo of the Graph Explorerhttps://graphexplorer2.azurewebsites.net
![Page 16: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/16.jpg)
Azure AD Authentication3
![Page 17: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/17.jpg)
• Sign users in using OpenID Connect Azure AD and Office 365
services Supports MFA and federated
user sign-in
• Device apps, web sites, SPAs, and service apps
• Pin apps to Office 365 app launcher from My apps
Single authentication flow for Office 365
![Page 18: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/18.jpg)
Common consent• Single auth flow for
accessing all O365 services
• Admin and end-user consent
• Secure protocol OpenID Connect and OAuth 2.0 No capturing user credentials Fine-grained access scopes Long-term access through refresh
tokens
![Page 19: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/19.jpg)
Azure AD onlySeparate auth flow supports Azure AD accounts onlyAzure AD and Microsoft Accounts (Preview)Converged auth flow supports Azure AD accounts and Microsoft accounts (LiveID - hotmail.com, etc.)
Authentication Options
![Page 20: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/20.jpg)
Demo of an Azure AD Applicationhttps://manage.windowsazure.com
![Page 21: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/21.jpg)
Integration of AngularJS with the Microsoft Graph4
![Page 22: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/22.jpg)
Scaffolding of AngularJS applicationAutomatic authenticationSecured routesInjection of tokens in HTTP calls
What do we need to integrate?
![Page 23: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/23.jpg)
Demo of an AngularJS, from start to finish
![Page 24: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/24.jpg)
Demo of OfficeHub
![Page 25: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/25.jpg)
Ressources5
![Page 26: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/26.jpg)
dev.Office.comhttp://dev.office.comOpportunityGetting startedTransformResourcesShowcaseDocumentation
![Page 27: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/27.jpg)
dev.Office.comhttp://blogs.office.comOffice 365 newsDev announcementsEventsGarage series videosWeekly podcast
![Page 28: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/28.jpg)
dev.Office.comhttp://www.office.com/roadmapMonthly updatesDeveloper featuresAssociated blog posts
![Page 29: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/29.jpg)
http://dev.office.com/devprogram
Developer Program launch
Email Newsletters
Free Developer Subscriptio
n
1 YEAR FREE
Free Training
Free Tools Webinars
![Page 30: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/30.jpg)
Office 365 Networkhttps://www.yammer.com/itpronetwork
@OfficeDev TwitterStartStart
Podcastshttp://dev.office.com/podcasts
UserVoice
http://officespdev.uservoice.com/
Stack overflow
[ms-office]
Channel 9 Dev Showhttp://aka.ms/O365DevShow Snack Demos
http://aka.ms/o365DevSnackDemos
Follow OfficeDev
![Page 31: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/31.jpg)
Questions ?
![Page 32: SharePoint SaturdayVancouver 2016 - AngularJS with the Microsoft Graph](https://reader035.fdocuments.in/reader035/viewer/2022070601/587fd20f1a28ab58248b4e41/html5/thumbnails/32.jpg)
Sponsors