Votre première App SharePoint pour
Office 365 avec Visual Studio !
Gilles Pommier – MVP Office 365 - SmartView
Qui suis-je ?
• Gilles Pommier
Office 365 MVP, MCT and co-founder of SmartView
http://www.smartview.fr –
gilles.pommier@smartview.fr
• SmartView
Agile
SharePoint/Office 365
Business Intelligence
Coaching/Training
Agile + SharePoint = OpenOffice365Adoption
Pablo, our Agile guy !
• 3
Un peu de théorie
SharePoint Hosted apps
Provider Hosted apps
Apps Modèle MVC
Dev – Niveau 200
Agenda
Pour SharePoint
Une extension réutilisable « à la facebook »
SharePoint 2013 &
SharePoint Online : Tout
est Apps !
Apps : Une définition ?
Les apps du Store MS
Ajouter une apps sur votre
site SP
Ajouter une apps sur votre
site SP
Ajouter une apps sur votre
site SP
Ajouter une apps sur votre
site SP
Ajouter une apps sur votre
site SP
Ajouter une apps sur votre
site SP
Ajouter une apps sur votre
site SP
Ajouter une apps sur votre
site SP
Ajouter une apps sur votre
site SP
Ajouter une apps sur votre
site SP
Les différents types d’apps
Immersive full page app (aka SPA)
At least one required in every app—landing page; can still use SharePoint
chroming; lives in remote web for a cloud-hosted app
App Part
Like a web part; hosted in an IFRAME (can point to content in remote web)
UI custom actions (declarative)
Evolutions des
Développements SharePoint
SP2007 SP2010 SP2013
Declar. App &
Workflow Events
CSOM
_vti_bin_vti_bin
_api
_api
Mais en fait, qu’est ce qui a
réellement changé ?
Avant/Après
Office 365
Environnement
Developer Site
Napa Office 365 Development
Tools
SharePoint-hosted App Provider-hosted App
Visual Studio
Office Developer Tools
SharePoint Client Components
Démo
Office 365
Environnement
Apps live in their own isolated environment called
the “app web”.
The site in which they function is called the “host
web”
APP1UID GUIDAPP1
Les possbilités de
hosting
Mode d’exécution
des Apps
Comment accéder
aux données SP
.NET Managed client object model (CSOM)
JavaScript client object model (JSOM)
REST endpoints with OData
Démo
.NET Managed client object
model (CSOM) example
Différences entre C# et
Javascript
C# JavaScript
using Microsoft.SharePoint.Client; ExecuteOrDelayUntilScriptLoaded(initFunc,
“sp.js”); …or…
$(document).ready(initFunc);
using (ClientContext context = new
ClientContext(absoluteUrl))
using (ClientContext context = TokenHelper…( ))
var context = SP.ClientContext.get_current();
var context = new SP.ClientContext(relativeUrl);
string title = web.Title; var title = web.get_title();
context.Load(oList, list=>list.Title,
list=>list.Created);
context.load(oList, ‘Title’, ‘Id’);
context.load(oListColl, ‘Include(Title, Id)’);
context.ExecuteQuery();
context.ExecuteQueryAsync();
context.executeQueryAsync(onSuccess, onError);
Value types: StringCollection Value types: string[], NaN
Automatic FormDigest handling Manual FormDigest handling
Issues creating RoleDefinitionBindingCollection’s
Apps vs WSP
Apps Sandboxed WSP
No Code (*)
Full trust WSP
(on prem only)
Where does server-side code
run?
Anywhere but
farm
Farm (User Code
Service)
Farm (w3wp.exe)
Scalable Highly Limited Based on farm
Who installs and removes Users
Site collection
admin
Farm admin
Supported in SP2013 Yes Yes Yes
SharePoint Online compatible Yes Yes No
Azure-hosting compatible Yes No No
Requires local farm for
developers
No Yes Yes
Remote deployment and
debugging from Visual Studio
Yes No No
*SandBox Solution withcodeisdeprecated inSP2013 &O365
Le développeur
SharePoint/O365 aujourd’hui
est un développeur Web
Avant
Aujourd’hui
Complete-Me-Code-Sample
https://github.com/OfficeDev/Complete-Me-Code-
Sample/tree/master/CompleteMeSharePointHostedApp
http://www.jeremythake.com/2013/10/sharepoint-hosted-app-with-
angularjs-for-mvc-javascript/
Office 365 API
http://dev.office.com/
Démo
Thanks!
• Thank you for your attention!
• This presentation will be available on the
• Casablanca SharePoint Days web site after the
• event.
Merci de votre attention !
Cette présentation sera disponible sur le site internet
de SharePoint Days Casablanca, après l’événement.
SVP évaluez ma session!
Complétez le sondage et courez la chance
de gagner une tablette Surface
Please rate this session!
Fill out the survey and get a chance to win a Surface

Contenu connexe

PPTX
Integration Summit 16 - Azure Logic App, bonnes pratiques et industrialisatio...
PDF
Swagger, language pour décrire des API REST
PDF
2018-10-17 J1 6C - Un framework pour les gouverner tous - Gaëtan Bouveret
PDF
O365con14 - the new sharepoint online apps - napa in action
PPTX
SPCA2013 - Once you go app you don't go back
PPTX
From Trashy to Classy: How The SharePoint 2013 App Model Changes Everything
PPTX
SharePoint Evolution conference 2013 - Bringing SharePoint Information into O...
PDF
SharePoint Summit Vancouver: Reach your audience with a SharePoint mobile app
Integration Summit 16 - Azure Logic App, bonnes pratiques et industrialisatio...
Swagger, language pour décrire des API REST
2018-10-17 J1 6C - Un framework pour les gouverner tous - Gaëtan Bouveret
O365con14 - the new sharepoint online apps - napa in action
SPCA2013 - Once you go app you don't go back
From Trashy to Classy: How The SharePoint 2013 App Model Changes Everything
SharePoint Evolution conference 2013 - Bringing SharePoint Information into O...
SharePoint Summit Vancouver: Reach your audience with a SharePoint mobile app

En vedette (19)

PPTX
Building your first app for share point 2013
PPTX
Developer’s Independence Day: Introducing the SharePoint App Model
PPTX
Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...
PPTX
Road to the Cloud - Extending your reach with SharePoint and Office 365
PPTX
SP2013 for Developers - Chris O'Brien
PPTX
SharePoint App Store - itunes for you business
PDF
Transitioning to SharePoint App Development
PPTX
A Deep-Dive into Real-World SharePoint App Development
PPTX
Share point app architecture for the cloud and on premise
PDF
Building a Windows Store App for SharePoint 2013
PPTX
SPSNL - Bringing SharePoint information into Office through Office Apps
PPTX
SharePoint 2013 App Provisioning Models
PPTX
Introduction to the new SharePoint 2013 App Model
PPTX
Tutorial: Building Apps for SharePoint 2013 Inside and Outside of the Firewal...
PPTX
7 Key Things for Building a Highly-Scalable SharePoint 2013 App
PPTX
App Model For SharePoint 2013
PPTX
Creating a SharePoint App with Microsoft Access Services
PPTX
SharePoint 2013 App or Not to App
PPTX
Develop a SharePoint App in 45 Minutes
Building your first app for share point 2013
Developer’s Independence Day: Introducing the SharePoint App Model
Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...
Road to the Cloud - Extending your reach with SharePoint and Office 365
SP2013 for Developers - Chris O'Brien
SharePoint App Store - itunes for you business
Transitioning to SharePoint App Development
A Deep-Dive into Real-World SharePoint App Development
Share point app architecture for the cloud and on premise
Building a Windows Store App for SharePoint 2013
SPSNL - Bringing SharePoint information into Office through Office Apps
SharePoint 2013 App Provisioning Models
Introduction to the new SharePoint 2013 App Model
Tutorial: Building Apps for SharePoint 2013 Inside and Outside of the Firewal...
7 Key Things for Building a Highly-Scalable SharePoint 2013 App
App Model For SharePoint 2013
Creating a SharePoint App with Microsoft Access Services
SharePoint 2013 App or Not to App
Develop a SharePoint App in 45 Minutes
Publicité

Similaire à Votre première App SharePoint pour Office 365 avec Visual Studio ! (20)

PPTX
Ma stack d'outils agiles, tout un programme !
PPTX
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
PPTX
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
PPTX
Agile Tour Paris 2014 : Ma stack d'outils Agiles, tout un programme !, Cedric...
PPT
Bureau Metier - Version 20061010
PPTX
Bien comprendre le nouveau modèle Apps de SharePoint 2013
PPTX
Integration Summit 16 - Tour d'horizon d'Azure Logic Apps
PPTX
Hybride share point search
PDF
UGSF Juin 2013 - Design des Apps SharePoint 2013
PDF
Microsoft Power Platform en Action
PPTX
SharePoint Framework : le développement SharePoint nouvelle génération
PDF
Liste des stages 07 02 2017
PPTX
Introduction à Power Apps et Microsoft Flow
ODP
WebSphere Portal & Rich Internet Applications
PPTX
ASP.NET MVC, Web API & KnockoutJS
DOC
CV_Frederick_VARANGO
PPTX
Architecturez vos applications mobiles avec Azure et Xamarin
PPTX
Conf'SharePoint 2013 - B05 Une gouvernance orientée services pour share poi...
PPT
Soutenance Zend Framework vs Symfony
Ma stack d'outils agiles, tout un programme !
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
Automatiser le déploiement d'environnements SharePoint 2010/2013 grâce à Powe...
Agile Tour Paris 2014 : Ma stack d'outils Agiles, tout un programme !, Cedric...
Bureau Metier - Version 20061010
Bien comprendre le nouveau modèle Apps de SharePoint 2013
Integration Summit 16 - Tour d'horizon d'Azure Logic Apps
Hybride share point search
UGSF Juin 2013 - Design des Apps SharePoint 2013
Microsoft Power Platform en Action
SharePoint Framework : le développement SharePoint nouvelle génération
Liste des stages 07 02 2017
Introduction à Power Apps et Microsoft Flow
WebSphere Portal & Rich Internet Applications
ASP.NET MVC, Web API & KnockoutJS
CV_Frederick_VARANGO
Architecturez vos applications mobiles avec Azure et Xamarin
Conf'SharePoint 2013 - B05 Une gouvernance orientée services pour share poi...
Soutenance Zend Framework vs Symfony
Publicité

Votre première App SharePoint pour Office 365 avec Visual Studio !

Notes de l'éditeur