SharePoint DaresSharePoint & Windows 8 Apps
Introductie
IntroductieJohan Kroese• Solution Architect @ Sparked• ASP script + SQL  ASP.NET  SharePoint  ?• @johankroese• Johan.kr...
Windows 8 apps
Historie – SharePoint 2003 tijdperkAlleen on-premises.Bijna alles web based, op uitzonderingen na.Alleen intranet
Historie – SharePoint 2007 tijdperkEerste client applicatiesMeeste oplossingen nog steeds on-premises. BPOS-S komt langzaa...
Historie – SharePoint 2010 tijdperkUitbreiding aantal client applicaties. Eerste Windows 8 appsOffice 365 biedt veel meer ...
Nu – SharePoint 2013Windows 8 business apps.Klanten willen:- Tablet- Data offline beschikbaar- Veilig- BeheerbaarCloud wor...
Voorbeelden8
Sparked Apps - XpertFinder9
Sparked Apps - LDP10
Sparked Apps – SharePoint SocialIn store now! 11
Waarom Windows 8 devices?Gebruiker:• Veilig (remote wipe, encryptie van data)• Makkelijk, geen extra logins nodig (DirectA...
Windows 8 apps & SharePointHoe authenticeer je de gebruiker vanuit de Windows 8 app?Welke techniek gebruik je om te integr...
Data accessSharePoint Online• CSOM / REST• Optioneel: custom service in Azure of on premisesSharePoint On-premises• CSOM /...
Authenticatie – voorheenSharePointOn-premises /OnlineType device SolutionOn-premises Domain joined Integrated auth  singl...
Authenticatie – SP2013SharePointOn-premises /OnlineType device SolutionOn-premises Domain joined Integrated auth  single ...
Waarom Oauth?17
Oauth (in Office 365) in eennotendopOauth in Office 365 = Azure Control Services + SharePoint1. Request naar SPO _layouts/...
Gotcha’sOauth: Win8 app + SPO• App permissions restricted to user’s permissions• User permissions required to trust appInt...
More infoOAuth authentication and authorization flow for apps that ask foraccess permissions on the fly in SharePoint 2013...
21
Upcoming SlideShare
Loading in...5
×

SharePoint en Windows 8 apps

617

Published on

Gepresenteerd door Johan Kroese tijdens SharePoint Dares.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
617
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "SharePoint en Windows 8 apps"

  1. 1. SharePoint DaresSharePoint & Windows 8 Apps
  2. 2. Introductie
  3. 3. IntroductieJohan Kroese• Solution Architect @ Sparked• ASP script + SQL  ASP.NET  SharePoint  ?• @johankroese• Johan.kroese@sparked.nl2
  4. 4. Windows 8 apps
  5. 5. Historie – SharePoint 2003 tijdperkAlleen on-premises.Bijna alles web based, op uitzonderingen na.Alleen intranet
  6. 6. Historie – SharePoint 2007 tijdperkEerste client applicatiesMeeste oplossingen nog steeds on-premises. BPOS-S komt langzaam op.Oplossing: Bouw service op SP server. Bouw client die tegen service praat.5
  7. 7. Historie – SharePoint 2010 tijdperkUitbreiding aantal client applicaties. Eerste Windows 8 appsOffice 365 biedt veel meer functionaliteit dan BPOS. Meer organisaties naarde cloud.Enorme opkomst van tablets en andere devices.Nieuw:• SharePoint services beschikbaar als RESTful web services, wel nogbeperkt• CSOM (Client Server Object Model) voor Javacscript, .NET enSilverlight6
  8. 8. Nu – SharePoint 2013Windows 8 business apps.Klanten willen:- Tablet- Data offline beschikbaar- Veilig- BeheerbaarCloud wordt steeds meer de norm.Nieuw:• SharePoint 2013 biedt Oauth (of toch niet?)• Sterke uitbreiding van CSOM7
  9. 9. Voorbeelden8
  10. 10. Sparked Apps - XpertFinder9
  11. 11. Sparked Apps - LDP10
  12. 12. Sparked Apps – SharePoint SocialIn store now! 11
  13. 13. Waarom Windows 8 devices?Gebruiker:• Veilig (remote wipe, encryptie van data)• Makkelijk, geen extra logins nodig (DirectAccess, Domain joined Integrated Authentication)IT:• Device management (remote wipe, updates, DirectAccess)Developer:• Bekende omgeving (Windows, .NET, etc)
  14. 14. Windows 8 apps & SharePointHoe authenticeer je de gebruiker vanuit de Windows 8 app?Welke techniek gebruik je om te integreren met SharePoint?
  15. 15. Data accessSharePoint Online• CSOM / REST• Optioneel: custom service in Azure of on premisesSharePoint On-premises• CSOM / REST• Custom WCF services hosted on SP server14
  16. 16. Authenticatie – voorheenSharePointOn-premises /OnlineType device SolutionOn-premises Domain joined Integrated auth  single sign-onOn-premises RT Store users credentialsOnline Domain joined Integrated auth (ADFS scenario).Store user credentials & hijkack cookie (noADFS)Online RT Store user credentials & hijkack cookie.
  17. 17. Authenticatie – SP2013SharePointOn-premises /OnlineType device SolutionOn-premises Domain joined Integrated auth  single sign-onOn-premises RT Store users credentialsORUse Oauth using custom solution or ACS trustOnline Domain joined Integrated auth (ADFS scenario)Use Oauth (no ADFS)Online RT Use Oauth
  18. 18. Waarom Oauth?17
  19. 19. Oauth (in Office 365) in eennotendopOauth in Office 365 = Azure Control Services + SharePoint1. Request naar SPO _layouts/15/OAuthAuthorize.aspx incl clientID &secret2. Gebruiker doet login op SPO en geeft akkoord3. Redirect naar custom web application incl authorization code4. Request naar ACS met authorization code. Response bevat refresh +access token5. Request naar SPO incl access tokenAccess token +/- 1 dag houdbaarRefresh token +/- 1 jaar houdbaar18
  20. 20. Gotcha’sOauth: Win8 app + SPO• App permissions restricted to user’s permissions• User permissions required to trust appIntegrated authentication: Win8 App + SP on-premises• Authenticating user against WCF service not as easy as you wouldexpectAlgemeen• Microsoft.SharePoint.Client niet beschikbaar in Win8 app, dus ookSharePointOnlineCredentials class niet• Windows Phone 8 SDK bevat wel ondersteuning voor SPO, ook metADFS19
  21. 21. More infoOAuth authentication and authorization flow for apps that ask foraccess permissions on the fly in SharePoint 2013 (advanced topic)http://msdn.microsoft.com/en-us/library/jj687470.aspxGuidelines for registering apps for SharePoint 2013http://msdn.microsoft.com/en-us/library/jj687469.aspx.NET client API reference for SharePoint 2013http://msdn.microsoft.com/en-us/library/jj193041.aspxBuild mobile apps for SharePoint 2013http://msdn.microsoft.com/en-us/library/jj163228(v=office.15)20
  22. 22. 21

×