SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour développer vos applications temps réel dans le Cloud;
ASP.Net SignalR V2 est une brique qui permet de développer des applications 'temps réel' avec une facilité déconcertante.
Venez découvrir à travers cette session comment développer de A à Z des applications 'temps réel' dans Office 365 / SharePoint Online grâce aux puissances combinées de SignalRV2 et d'Azure.
Au travers d'exemples concrets, tels que le suivi en temps réel de l'évolution de bibliothèques de documents SharePoint Online, nous verrons notamment comment développer et déployer très rapidement ces applications dans SharePoint 2013 à l'aide de Visual Studio 2015.Produits concernés : Office 365, SharePoint 2013 Online, Vsual Studio 2015 et Azure
2. SignalR V2 - Office 365 - SharePoint Online
Le mix gagnant pour développer vos
applications temps réel dans le Cloud
Etienne Bailly
Benoît Jester
3. tech.days 2015#mstechdays
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
Etienne BAILLY
www.istep.fr
@etienne_bailly
Benoît JESTER
http://spasipe.wordpress.com
@SPAsipe
4. tech.days 2015#mstechdays
Introduction
Présentation de SignalR
SignalR pour SharePoint
Démo(s)
Références
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
6. tech.days 2015#mstechdays
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
Caractéristiques
Documentation
www.asp.net/signalr
http://signalr.net
github.com/SignalR/SignalR
https://www.nuget.org/packages/Microsoft.AspNet.SignalR/2.1.2
https://msdn.microsoft.com/en-us/library/jj891071(v=vs.111).aspx
Points clés
7. tech.days 2015#mstechdays
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
Framework .net 4.5
Windows
IIS
Navigateurs
Plateformes supportées
8. tech.days 2015#mstechdays
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
Fonctionnement général
Server-Sent
Events
Forever
Frame
Ajax long
polling
9. tech.days 2015#mstechdays
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
Principe
Si pas de WebSockets ?
Le transport
10. tech.days 2015#mstechdays
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
Les hubs
Connexion
WebSockets
11. tech.days 2015#mstechdays
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
Architecture globale
12. tech.days 2015#mstechdays
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
13. tech.days 2015#mstechdays
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
Pourquoi ?
Comment ?
OWIN
Un couple gagnant
14. tech.days 2015#mstechdays
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
App for SharePoint / Provider hosted
15. tech.days 2015#mstechdays
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
Partie 1 –SharePoint App - SignalR « Tchat »
Partie 2- SharePoint App - SignalR & Remote Events
16. tech.days 2015#mstechdays
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
17. tech.days 2015#mstechdays
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
Un nouveau participant arrive dans le Tchat
Connexion
WebSockets
context.Clients.All.hello();
hello();
hello();
hello();
Un nouveau participant arrive dans le Tchat
Un nouveau participant arrive dans le Tchat
Un nouveau participant arrive dans le Tchat
18. tech.days 2015#mstechdays
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
Full Tchat
Connexion
WebSockets
spHub.server.sendMessageToEveryone
(‘‘bob’’, ‘‘Coucou c’est Bob ! ‘‘)
writeReceivedMessage();
Bob : Coucou c’est Bob !
writeReceivedMessage();
writeReceivedMessage();
Bob : Coucou c’est Bob !
Bob : Coucou c’est Bob !
context.Clients.All.writeReceivedMessage
(‘’bob’’, ‘’Coucou c’est Bob ! ‘’);
19. tech.days 2015#mstechdays
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
Remote event Listener – Document Library
context.Clients.All.refreshChart();
refreshChart();
Document
Library
ProcessOne
WayEventSharePoint
App
ItemAdded
efreshChart();
refreshChart();
20. tech.days 2015#mstechdays
Max Melcher @maxmelcher
http://spsignalr.codeplex.com/
Matt Menezes @spmatt_menezes
https://spmatt.wordpress.com/2013/08/21/harnessing-signalr-in-sharepoint-2013-office-365/
Travaux et publications sur SignalR et SharePoint
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
21. tech.days 2015#mstechdays
Blog Benoît Jester http://spasipe.wordpress.com
@SPAsipe
Blog ISTEP – Etienne Bailly http://www.istep.fr/blog
@etienne_bailly
Retrouvez dans quelques jours le code
source et les vidéos de cette session
SignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour
développer vos applications temps réel dans le Cloud
22. SharePoint Saturday Paris 2015
Samedi 30 mai 2015 Save the date
Sponsors
• Diamond
• Platinum
• Gold
• Silver
Formulaire de soumission
partenaire
4 thématiques
• IT Pro
• Développeur
• Utilisateur final
• Métier
Formulaire de soumission
conférencier
Contact
• Site officiel
• @SPSParis
• spsparis@outlook.com
5 technologies
30 mai 2015
Tour Montparnasse
75014 Paris - France