azure: mobile services e notification hub andrea giunta

18
Azure: Mobile Services e Notification Hub ANDREA GIUNTA

Upload: desiderio-venturi

Post on 02-May-2015

222 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

Azure: Mobile Services e Notification HubANDREA GIUNTA

Page 2: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

Un grazie a

Page 3: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

Agenda

Introduzione al Cloud

Mobile Services

Scenari d’utilizzo

Features

Notification Hub

Demo

Page 4: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

Azure IL CLOUD SECONDO MICROSOFT

Page 5: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

Definiamo CLOUD

Pagamento a consumo

Differenti datacenter

Tre tipologie classiche di servizi Infrastructure As A Service

Platform As A Service

Software As A Service

Page 6: Azure: Mobile Services e Notification Hub ANDREA GIUNTA
Page 7: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

Servizi

Cloud Service

s

Mobile Service

sStorage

Sql Server VMs Web

Sites

Page 8: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

Windows Azure Mobile Service (WAMS)

Mobile Services, cosa c’è di nuovo?

WebApi & Wams

NodeJs Wams Vs .Net Wams

NodeJs o .Net?

Page 9: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

Creare un Mobile Service

Ovviamente bisogna avere una sottoscrizione su Azure.

È possibile usufruire di un periodo di prova per testare tutti i servizi disponibili sulla Cloud Azure

È un operazione semplicissima dobbiamo solo: Indicare il nome del Mobile Service, che di fatto sarà l’URL

del nostro backend

Selezionare/creare il/un database (Sql Azure) che verrà utilizzato dalla nostra applicazione.

Selezionare la tipologia di backend tra node.js e .net

Page 10: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

Qualcosa di nuovo…

Sono state introdotte differenti novità sui WAMS ( Windows Azure Mobile Services) nel corso dell’ultimo anno.

Custom Api

GUID & Table Versioning

Nuove libs per migliorare supporto agli sviluppatori

Azure Active Directory Authentication

La novità più importante è il rilascio dei .NET Mobile Services

Page 11: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

.NET WAMS

La versione .NET dei WAMS si compone principalmente di 2 tipologie di controller.

• Table Controller

• Custom Controller

Page 12: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

TableController

Page 13: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

CustomController

Estende ApiController

Page 14: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

I pro del Backend .NET

Che vantaggi ci da in più il backend .NET?

Visual studio!

Debugging

Mantenimento del codice semplificato

Versioning e quant’altro

Usa nativamente il nuovo notification hub per le push

E’ .NET, posso riutilizzare il mio KnowHow e assembly

Page 15: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

I contro del Backend .NET

Può risultare meno intuitivo rispetto a NodeJS

Inoltre per piccoli backend è meno immediato di NodeJs

Page 16: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

Notification Hubs

Infrastruttura semplice per l’invio di notifiche push

Semplificata

Invio push generica

Invio push ad un target

Invio di push specifica per utente

1 Servizio per gestire tutte le piattaforme

Multipiattaforma

Lavora su cloud oppure on premises

Disponibile per linguaggi esterni a .Net

Page 17: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

Link utili

Start now.http://WindowsAzure.com

Free trial.http://aka.ms/azurefree

@andreagiunta63

Channel 9http://channel9.msdn.com

OrangeDotNethttp://www.orangedotnet.org

@OrangeDotNet

Microsoft Virtual Academywww.microsoftvirtualacademy.com

Page 18: Azure: Mobile Services e Notification Hub ANDREA GIUNTA

”Domande