22
AMBIENT INTELLIGENCE tech days 2015 # mstechdays techdays.microsoft.fr

TechDays 2015 - SignalR V2 - Office 365

Embed Size (px)

Citation preview

AMBIENT INTELLIGENCE

tech days•

2015

#mstechdays techdays.microsoft.fr

SignalR V2 - Office 365 - SharePoint OnlineLe mix gagnant pour développer vos applications temps réel dans le Cloud

Etienne Bailly

Benoît Jester

tech.days 2015#mstechdaysSignalR 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

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

tech.days 2015#mstechdaysSignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour

développer vos applications temps réel dans le Cloud

tech.days 2015#mstechdaysSignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour

développer vos applications temps réel dans le Cloud

Caractéristiques

Documentationwww.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

tech.days 2015#mstechdaysSignalR 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

tech.days 2015#mstechdaysSignalR 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

tech.days 2015#mstechdaysSignalR 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

tech.days 2015#mstechdaysSignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour

développer vos applications temps réel dans le Cloud

Les hubs

Connexion

WebSockets

tech.days 2015#mstechdaysSignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour

développer vos applications temps réel dans le Cloud

Architecture globale

tech.days 2015#mstechdaysSignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour

développer vos applications temps réel dans le Cloud

tech.days 2015#mstechdaysSignalR 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

tech.days 2015#mstechdaysSignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour

développer vos applications temps réel dans le Cloud

App for SharePoint / Provider hosted

tech.days 2015#mstechdaysSignalR 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

tech.days 2015#mstechdaysSignalR V2 - Office 365 - SharePoint Online - Le mix gagnant pour

développer vos applications temps réel dans le Cloud

tech.days 2015#mstechdaysSignalR 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

tech.days 2015#mstechdaysSignalR 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 ! ‘’);

tech.days 2015#mstechdaysSignalR 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

ProcessOneWayEventSharePoint

App

ItemAdded

efreshChart();

refreshChart();

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

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

SharePoint Saturday Paris 2015Samedi 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

[email protected]

5 technologies

30 mai 2015Tour Montparnasse

75014 Paris - France