• Save
SharePoint en Windows 8 apps
Upcoming SlideShare
Loading in...5
×
 

SharePoint en Windows 8 apps

on

  • 981 views

Gepresenteerd door Johan Kroese tijdens SharePoint Dares.

Gepresenteerd door Johan Kroese tijdens SharePoint Dares.

Statistics

Views

Total Views
981
Views on SlideShare
981
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

SharePoint en Windows 8 apps SharePoint en Windows 8 apps Presentation Transcript

  • SharePoint DaresSharePoint & Windows 8 Apps
  • Introductie
  • IntroductieJohan Kroese• Solution Architect @ Sparked• ASP script + SQL  ASP.NET  SharePoint  ?• @johankroese• Johan.kroese@sparked.nl2
  • 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 langzaam op.Oplossing: Bouw service op SP server. Bouw client die tegen service praat.5
  • 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
  • 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
  • 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 (DirectAccess, Domain joined Integrated Authentication)IT:• Device management (remote wipe, updates, DirectAccess)Developer:• Bekende omgeving (Windows, .NET, etc)
  • Windows 8 apps & SharePointHoe authenticeer je de gebruiker vanuit de Windows 8 app?Welke techniek gebruik je om te integreren met SharePoint?
  • Data accessSharePoint Online• CSOM / REST• Optioneel: custom service in Azure of on premisesSharePoint On-premises• CSOM / REST• Custom WCF services hosted on SP server14
  • 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.
  • 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
  • Waarom Oauth?17
  • 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
  • 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
  • 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
  • 21