SharePoint en Windows 8 apps

  • 556 views
Uploaded on

Gepresenteerd door Johan Kroese tijdens SharePoint Dares.

Gepresenteerd door Johan Kroese tijdens SharePoint Dares.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
556
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. SharePoint DaresSharePoint & Windows 8 Apps
  • 2. Introductie
  • 3. IntroductieJohan Kroese• Solution Architect @ Sparked• ASP script + SQL  ASP.NET  SharePoint  ?• @johankroese• Johan.kroese@sparked.nl2
  • 4. Windows 8 apps
  • 5. Historie – SharePoint 2003 tijdperkAlleen on-premises.Bijna alles web based, op uitzonderingen na.Alleen intranet
  • 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. 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. 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. Voorbeelden8
  • 10. Sparked Apps - XpertFinder9
  • 11. Sparked Apps - LDP10
  • 12. Sparked Apps – SharePoint SocialIn store now! 11
  • 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. Windows 8 apps & SharePointHoe authenticeer je de gebruiker vanuit de Windows 8 app?Welke techniek gebruik je om te integreren met SharePoint?
  • 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. 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. 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. Waarom Oauth?17
  • 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. 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. 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. 21