3 022

353 views

Published on

Building end-to-end apps for SharePoint with Windows Azure and Windows 8

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
353
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

3 022

  1. 1. Microsoft Internal O365 Windows Azure Word with SharePoint Site Cloud Services Apps For Office • Send notifications• View / approve SOWs • Contact internal sales personnel • Create SOWs• Display Excel Services to follow up on requests for • Update data in Excel documents charts in Word quotes • Create SharePoint project sites • Contact vendors to follow up on requests for quotes Windows Azure • Approve SOWs • Display, Create, Update, Delete Workflow Server Windows 8 Sales Leads • Facilitate SOW creation, Application • Store Excel Documents approval, submission, and follow • Store SOWs up tasks• View client companies • Host team sites for projects• View sales leads • BCS External List Windows Azure• Receive toast and tile and Access Control raw notifications Service Public O365 • OAuth• View Excel Services charts• Create estimates SharePoint Site Windows Azure SQL • Submit requests for quote • StoreDatabase sales request data Clients Cloud
  2. 2. Introducing the all new _api OAuth EnabledClient/Server/Mobile Symmetrical 2,000+ Classes _API JSON Declarative, Remote EventsFully Remote JQuery Compatible OData 6,000+ Members Private and Public Clouds
  3. 3. SharePoint 2013 and SharePoint Online_api SharePoint User Search Taxonomy Feeds More… Foundation Profile _api SharePoint Execute Client Query OData / REST JavaScript Silverlight .Net CLR Library Library Library Custom Client Code
  4. 4. Consistent Access to ServicesAPI REST URL Script Client NamespaceWeb http://weburl/_api/Web SP Microsoft.SharePoint.ClientSearch http://weburl/_api/Search SP.Search Microsoft.SharePoint.Client.SearchTaxonomy http://weburl/_api/Taxonomy SP.Taxonomy Microsoft.SharePoint.Client.TaxonomySocial http://weburl/_api/Social SP.Social Microsoft.SharePoint.Client.Social
  5. 5. Consistent UsageREST/ODataManaged CodeClientContext ctx = new ClientContext("https://contoso.sharepoint.com");ctx.Load(ctx.Web.Title);ctx.ExecuteQuery();JavaScript
  6. 6. Sample REST / OData CallsBase endpointGet the web’s titleGet the collection of lists in the webGet the lists in the web with a BaseTemplate of 104 (announcement lists)Create a new list
  7. 7. (Rob)
  8. 8. Contoso photo
  9. 9. Contoso photo Contoso
  10. 10. Contoso photo ? Contoso
  11. 11. Contoso photo Contoso
  12. 12. ViewContoso photo Contoso View
  13. 13. View, Upload, Tag,CommentContoso photo Contoso View, Upload, Tag, Comment
  14. 14. View, Upload, Tag,Comment, ChangePasswordContoso photo Contoso View, Upload, Tag, Comment, Change Password
  15. 15. Contoso photo Contoso View, Upload, Tag, Comment, Change Password
  16. 16. Contoso photo Contoso View, Upload, Tag, Comment, Change Password
  17. 17. Contoso photo Contoso View, Upload, Tag, Comment, Change Password
  18. 18. ViewContoso photo Contoso View, Upload, Tag, Comment, Change Password
  19. 19. ViewContoso photo Contoso View, Upload, Tag, Comment, Change Password
  20. 20. App Model: Past, Present and Future SharePoint 2010 2007 SharePoint 2013
  21. 21. OAuth 2.0
  22. 22. User credentials User onlyStart provided? context App token App token User + App provided? Includes user? context App only context Anonymous End context
  23. 23. SharePoint Context Token SharePoint Server App.com Browser
  24. 24. STS (ACS) SharePoint ServerBrowser App.com
  25. 25. https://rhoward.sharepo STS (ACS) 1 SharePoint Server Browser App.com
  26. 26. https://rhoward.sharepo STS (ACS) 2 1 SharePoint Server Browser App.com
  27. 27. https://rhoward.sharepo STS (ACS) 3 2 1 SharePoint Server Browser App.com
  28. 28. https://rhoward.sharepo SP API Review STS (ACS) 3 2 1 4 SharePoint Server Browser App.com POST https://app.com/ … SPAppToken=eyJ0eXAiOiJKV 1QiLCJhbGciOiJIUzI1NiJ9.e…
  29. 29. https://rhoward.sharepo SP API Review STS (ACS) 3 2 1 4 SharePoint Server 5 Browser App.com
  30. 30. https://rhoward.sharepo SP API Review STS (ACS) 3 6 2 1 4 SharePoint Server 5 Browser App.com
  31. 31. https://rhoward.sharepo SP API Review 7 STS (ACS) 3 6 2 1 4 SharePoint Server 5 Browser App.com
  32. 32. https://rhoward.sharepo SP API Review 7 STS (ACS) 3 6 2 1 4 8 SharePoint Server 5 Browser App.com
  33. 33. https://rhoward.sharepo SP API Review 7 STS (ACS) 3 6 2 1 9 4 8 SharePoint Server 5 Browser App.com
  34. 34. https://rhoward.sharepo SP API Review 7 STS (ACS) 3 6 2 1 9 4 8 SharePoint Server 5 7 Unassigned Changes 10 Auto-Assign Browser App.com 21 Pending Reviews Nag Mail 17 Active API Bugs Nag Mail
  35. 35. The OAuth 2.0 Authorization ProtocolThe OAuth 2.0 Authorization Protocol: BearerTokensJSON Web Token (JWT)IETF OAuth WG homepage
  36. 36. SharePoint 2013 & Windows Azure Workflow Azure SharePoint Access Control Events Content Collab People WF3 Host SharePoint Designer SharePoint OM OAuth2 MTWVisual Studio _API Azure Workflow Workflow Services Manager Instances Interop Azure Deployment Messaging Service Bus WF4 Service Application Proxy
  37. 37. Takeaways
  38. 38. http://dev.office.com http://blogs.msdn.com/b/officeapps http://dev.windows.com http://windowsazure.comhttp://aka.ms/BuildSessions
  39. 39. Two Aspects to Access ControlAuthentication Authorization
  40. 40. App Authentication SharePoint “Host” Web App Web JavaScript SharePoint “AppWeb”
  41. 41. App Authentication SharePoint “Host” Web JavaScript (cross domain) SharePoint “AppWeb”
  42. 42. App Authentication SharePoint “Host” Web SharePoint “AppWeb” OAuth
  43. 43. App Identity Online and On-Prem Azure AD Cloud App Office 365
  44. 44. App Identity Online and On-Prem Azure AD Cloud App Office 365 On-Prem App SharePoint
  45. 45. App Identity Online and On-Prem Azure AD Cloud App Office 365 On-Prem App SharePoint
  46. 46. Scope="http://sharepoint/content/sitecollection" Right="Read"/> Product Permission Provider Specific component Capability
  47. 47. App Name Here
  48. 48. http://sharepoint/content/tenant Read;Write;Manage;FullControlhttp://sharepoint/content/sitecollection Read;Write;Manage;FullControlhttp://sharepoint/content/sitecollection/web Read;Write;Manage;FullControlhttp://sharepoint/content/sitecollection/web/list Read;Write;Manage;FullControlhttp://sharepoint/bcs/connection Readhttp://sharepoint/search QueryAsUserIgnoreAppPrincipalhttp://sharepoint/projectserver Managehttp://sharepoint/projectserver/projects Read;Writehttp://sharepoint/projectserver/projects/project Read;Writehttp://sharepoint/projectserver/enterpriseresources Read;Writehttp://sharepoint/projectserver/statusing SubmitStatushttp://sharepoint/projectserver/reporting Readhttp://sharepoint/projectserver/workflow Elevatehttp://sharepoint/social/tenant Read;Write;Manage;FullControlhttp://sharepoint/social/core Read;Write;Manage;FullControlhttp://sharepoint/social/microfeed Read;Write;Manage;FullControlhttp://sharepoint/taxonomy Read;Write

×