SlideShare une entreprise Scribd logo
1  sur  47
Azure Mobile Services per
Windows Phone e Smartphones
Edizione AppDays
Fiera del Radioamatore/2014
Marco Parenzan
Marco Parenzan
 Formazione & Divulgazione con 1nn0va
 Ricerca e Innovazione con Servizi Cgn
 www.slideshare.net/marco.parenzan
 marco [dot] parenzan [at] libero/live [dot] it
 www.innovazionefvg.net
 Developer e Architect in .NET e Web
 Cloud Developer
Lo scenario
Mobile/Smartphone/Apps
Mobile (oggi)…
 …domani ci saranno tanti nomi:
 Devices
 Intelligente Devices
 Internet of Things
 App è il modello delle applicazioni che provengono da uno «shop»
 Tipico per questo tipo di dispositivi
 Anche nei PC (es. Windows 8) ora si chiamano App
App=Client+Services
 Quando parliamo di app, pensiamo subito allo smartphone e alla «grafica»
 Una app non funziona mai da sola
 Parliamo di applicazioni «connesse»
 Il valore dello smartphone è essere «online»
 Sei online perché comunichiamo con dei servizi
 Identità (Facebook, live.it, gmail.com, linkedin, …)
 Email (Live, Gmail, …)
 Storage drives (OneDrive, GoogleDrive, DropBox, ….)
 …
 Se tutti percepiamo come scrivere una app, come scriviamo un servizio?
Servizi per le App
 I servizi per le app sono composti da due parti fondamentali
 Il Codice
 L’infrastruttura
 Il codice è la parte «che fa il lavoro»
 Lo scriviamo in qualche linguaggio (Javascript+HTML, C# e XAML, Java, PHP, ….)
 L’infrastruttura dà gli «attributi» al servizio
 Qualità
 Disponibilità
 Funzionalità
Introduzione al Cloud Computing
e Microsoft Azure
Cos’è il Cloud Computing
Cos’è il Cloud Computing
Cos’è il Cloud Computing
Windows Azure
 Comprehensive set of services that
enable you to quickly build, deploy and
manage applications across a global
network of Microsoft-managed
datacenters
Global Footprint
Pay for what you
use
Windows Azure Scenarios










Types of “cloud” offerings
PaaS for the Modern Web
The modern offering (2013+)
On-Premises
Models for Building and Running Apps
Virtualization
O/S
Hardware
Native Code
Custom Software
Network
Data
Applications
Firewall
Web
Sites
Applications
Data
Cloud
Services
Native Code
Startup Tasks
Applications
Firewall Rules
Data
Virtual Network
Virtual
Machines
Native Code
Custom Software
Virtual Network
Data
Applications
Firewall Rules
O/S
Mobile
Services
Applications
Data
Auth
Notifications
Go Live
Rapid deployment for quick iteration
Integrated source control with Team
Foundation Server (TFS) and Git
Built-in monitoring of perf and usage data
Quick access to request logs, failed
requests diagnostics and diagnostics
Enterprise grade
 High availability with SLA on reserve instances.
 A global network of data centers.
 Guaranteed SLA and 24/7 support.
Load
balanced Up to date Easily scale Economical
Scalability
 Scaling up and
scaling out
Scaling
Multi-tenant. Daily quotas
Multi-tenant. Daily quotas
Dedicated VMs. No quotas
Open and flexible
Choice of language
Azure Mobile Services
Mobile Services
 Easily build cloud back-ends
 Data, identity, push notifications, and
scheduled scripts
 Windows Store, Windows Phone, iOS, and
Android
Mobile
Services
Services for Cloud and Mobile
Applications
What are Mobile Services?
Structured Storage
 Powered by SQL Database
 Same DB – Multiple Mobile Services
 AppX.Todoitem
 AppY.Todoitem
 Data management in
 Windows Azure Portal
 SQL Portal, SQL Management Studio
 REST API
 CLI Tools
The REST API
Action HTTP Verb URL Suffix
Create POST /TodoItem
Read GET /TodoItem?$filter=id%3D42
Update PATCH /TodoItem/id
Delete DELETE /TodoItem/id
https://Mobileservice.azure-mobile.net/tables/*
JSON to SQL Type Mappings
JSON Value T-SQL Type
Numeric values (integer,
decimal, floating point)
Float(53)
Boolean Bit
DateTime DateTimeOffset(3)
String Nvarchar(max)
Auth*
 Authenticate against Microsoft Account, Twitter, Facebook, Google
 Table level permissions for each CRUD operation
 Everyone
 Anyone with the Application Key
 Only Authenticated Users
 Only Scripts and Admins
 More granular control with server side scripts
 user.level: {admin, authenticated, anonymous}
 user.userId: id or undefined if not authenticated
The User object
 User.level
 Anonymous
 Authenticated
 Admin
 User.userId
 Provider:id or undefined
 User.getIdentities()
 UserId
 Provider Access Token / Secret
Raggiungere l’utente:
push notifications
Push Notifications
 Integrates with WNS to provide Toast, Tile, Badge and Raw notifications
 Portal captures your WNS client secret and package SID
 push.wns.* provides:
 clean easy object model to compose notifications
 Performs auth against WNS for you
How Push Notifications Work
Retrieve device handle
PNS
(APNS, WNS, GCM)
Store handle in app back-end Send notification to handle
Device notified (even when app is inactive)
Server Side Scripts
 Customizing logic on the server
Node Modules
 Extensibility through numerous included modules
How Service Bus Notification Hub Works
Retrieve device handle
PNS
Registration with tags
Send notification to handle
Push notification
Azure Mobile Services:
other goodies
More on script options: Custom API
 Non-table based scripts
 Accessible from
 Get
 Post
 Put
 Patch
 Delete
 Same permissions as tables
Storage: What are our options?
Script Source Control
 Handled through GIT repo
• Access to table, scheduler, custom API, shared scripts, and
permissions
 Shared Scripts
• Make scripts accessible from other scripts
• Just like creating Node.js modules
 NPM
• Ability to use ‘npm install module’ to download NPM modules
Mobile Services Tiers
Free Standard Premium
Usage
Restrictions
Up to 10 services,
Up to 500 Active
Devices*
N/A N/A
API Calls 500K
(per subscription)
1.5M
(per unit)
15M
(per unit)
Scale N/A Up to 6
Standard units
Up to 10
Enterprise units
Scheduled
Jobs
Limited Included Included
SQL
Database
(required)
20MB Included,
Standard rates apply
for more capacity
20MB Included,
Standard rates
apply
for more capacity
20MB Included,
Standard rates apply
for more capacity
Conclusions
Conclusions
 il Cloud Computing è la piattaforma di riferimento per complementare la parte «client» di
una App
 Microsoft Azure è la piattaforma Cloud di riferimento per ricchezza di servizi e molteplicità
di modelli per lo sviluppo
 Azure Mobile Services sono una piattaforma che semplifica l’acceso al Cloud per
chiunque voglia scrivere app…
 …avendo subito servizi di classe enterprise
 …ma potrà scalare a modelli e livelli di servizio ancora più alti
Grazie!
 www.slideshare.net/marco.parenzan
 marco [dot] parenzan [at] libero/live [dot] it
 www.innovazionefvg.net
 @marco_parenzan
 it.linkedin.com/in/marcoparenzan
 www.facebook.com/parenzan.marco
 www.marcoparenzan.it
 www.slideshare.net/marco.parenzan
 github.com/marcoparenzan
 www.scoop.it/u/marco-parenzan
Q&A

Contenu connexe

Tendances

Add User Sign in and Management to your Apps with Amazon Cognito
Add User Sign in and Management to your Apps with Amazon CognitoAdd User Sign in and Management to your Apps with Amazon Cognito
Add User Sign in and Management to your Apps with Amazon CognitoAmazon Web Services
 
Microsoft Innovation Summit
Microsoft Innovation SummitMicrosoft Innovation Summit
Microsoft Innovation SummitMayur Tendulkar
 
Journey Through the Cloud - Mobile & Social Apps
Journey Through the Cloud - Mobile & Social AppsJourney Through the Cloud - Mobile & Social Apps
Journey Through the Cloud - Mobile & Social AppsAmazon Web Services
 
Microsoft Azure - The Best Platform for AI
Microsoft Azure - The Best Platform for AIMicrosoft Azure - The Best Platform for AI
Microsoft Azure - The Best Platform for AIMayur Tendulkar
 
Microsoft Azure Overview Infographic
Microsoft Azure Overview InfographicMicrosoft Azure Overview Infographic
Microsoft Azure Overview InfographicMicrosoft Azure
 
Microsoft Graph: The API for Microsoft 365
Microsoft Graph: The API for Microsoft 365Microsoft Graph: The API for Microsoft 365
Microsoft Graph: The API for Microsoft 365Mayur Tendulkar
 
Intel SoC as a Platform to Connect Sensor Data to AWS
Intel SoC as a Platform to Connect Sensor Data to AWSIntel SoC as a Platform to Connect Sensor Data to AWS
Intel SoC as a Platform to Connect Sensor Data to AWSAmazon Web Services
 
(MBL310) Workshop: Build iOS Apps Using AWS Mobile Services | AWS re:Invent 2014
(MBL310) Workshop: Build iOS Apps Using AWS Mobile Services | AWS re:Invent 2014(MBL310) Workshop: Build iOS Apps Using AWS Mobile Services | AWS re:Invent 2014
(MBL310) Workshop: Build iOS Apps Using AWS Mobile Services | AWS re:Invent 2014Amazon Web Services
 
An Overview of Designing Microservices Based Applications on AWS - March 2017...
An Overview of Designing Microservices Based Applications on AWS - March 2017...An Overview of Designing Microservices Based Applications on AWS - March 2017...
An Overview of Designing Microservices Based Applications on AWS - March 2017...Amazon Web Services
 
Microsoft Azure : Microsoft Strategy for Cloud Computing
Microsoft Azure : Microsoft Strategy for Cloud Computing Microsoft Azure : Microsoft Strategy for Cloud Computing
Microsoft Azure : Microsoft Strategy for Cloud Computing NstdaAcademy Nstda
 
Microsoft Azure for Small and Medium Businesses
Microsoft Azure for Small and Medium Businesses Microsoft Azure for Small and Medium Businesses
Microsoft Azure for Small and Medium Businesses Atanas Gergiminov
 
AWS April Webinar Series - Easily Build and Scale Mobile Apps with AWS Mobile...
AWS April Webinar Series - Easily Build and Scale Mobile Apps with AWS Mobile...AWS April Webinar Series - Easily Build and Scale Mobile Apps with AWS Mobile...
AWS April Webinar Series - Easily Build and Scale Mobile Apps with AWS Mobile...Amazon Web Services
 
CTU June 2011 - Hybrid Cloud Management with Microsoft System Center - Concero
CTU June 2011 - Hybrid Cloud Management with Microsoft System Center - ConceroCTU June 2011 - Hybrid Cloud Management with Microsoft System Center - Concero
CTU June 2011 - Hybrid Cloud Management with Microsoft System Center - ConceroSpiffy
 
Creation of cloud application using microsoft azure by vaishali sahare [katkar]
Creation of cloud application using microsoft azure by vaishali sahare [katkar]Creation of cloud application using microsoft azure by vaishali sahare [katkar]
Creation of cloud application using microsoft azure by vaishali sahare [katkar]vaishalisahare123
 
Windows Azure Platform - Jonathan Wong
Windows Azure Platform - Jonathan WongWindows Azure Platform - Jonathan Wong
Windows Azure Platform - Jonathan WongSpiffy
 
Getting Started with Cognito User Pools - September Webinar Series
Getting Started with Cognito User Pools - September Webinar SeriesGetting Started with Cognito User Pools - September Webinar Series
Getting Started with Cognito User Pools - September Webinar SeriesAmazon Web Services
 
Automating Compliance Defense in the Cloud - September 2016 Webinar Series
Automating Compliance Defense in the Cloud - September 2016 Webinar SeriesAutomating Compliance Defense in the Cloud - September 2016 Webinar Series
Automating Compliance Defense in the Cloud - September 2016 Webinar SeriesAmazon Web Services
 
(MBL311) Workshop: Build an Android App Using AWS Mobile Services | AWS re:In...
(MBL311) Workshop: Build an Android App Using AWS Mobile Services | AWS re:In...(MBL311) Workshop: Build an Android App Using AWS Mobile Services | AWS re:In...
(MBL311) Workshop: Build an Android App Using AWS Mobile Services | AWS re:In...Amazon Web Services
 

Tendances (20)

Introduzione ad Amazon Lex
Introduzione ad Amazon LexIntroduzione ad Amazon Lex
Introduzione ad Amazon Lex
 
Add User Sign in and Management to your Apps with Amazon Cognito
Add User Sign in and Management to your Apps with Amazon CognitoAdd User Sign in and Management to your Apps with Amazon Cognito
Add User Sign in and Management to your Apps with Amazon Cognito
 
Microsoft Innovation Summit
Microsoft Innovation SummitMicrosoft Innovation Summit
Microsoft Innovation Summit
 
Journey Through the Cloud - Mobile & Social Apps
Journey Through the Cloud - Mobile & Social AppsJourney Through the Cloud - Mobile & Social Apps
Journey Through the Cloud - Mobile & Social Apps
 
Microsoft Azure - The Best Platform for AI
Microsoft Azure - The Best Platform for AIMicrosoft Azure - The Best Platform for AI
Microsoft Azure - The Best Platform for AI
 
Microsoft Azure Overview Infographic
Microsoft Azure Overview InfographicMicrosoft Azure Overview Infographic
Microsoft Azure Overview Infographic
 
Microsoft Graph: The API for Microsoft 365
Microsoft Graph: The API for Microsoft 365Microsoft Graph: The API for Microsoft 365
Microsoft Graph: The API for Microsoft 365
 
Intel SoC as a Platform to Connect Sensor Data to AWS
Intel SoC as a Platform to Connect Sensor Data to AWSIntel SoC as a Platform to Connect Sensor Data to AWS
Intel SoC as a Platform to Connect Sensor Data to AWS
 
(MBL310) Workshop: Build iOS Apps Using AWS Mobile Services | AWS re:Invent 2014
(MBL310) Workshop: Build iOS Apps Using AWS Mobile Services | AWS re:Invent 2014(MBL310) Workshop: Build iOS Apps Using AWS Mobile Services | AWS re:Invent 2014
(MBL310) Workshop: Build iOS Apps Using AWS Mobile Services | AWS re:Invent 2014
 
An Overview of Designing Microservices Based Applications on AWS - March 2017...
An Overview of Designing Microservices Based Applications on AWS - March 2017...An Overview of Designing Microservices Based Applications on AWS - March 2017...
An Overview of Designing Microservices Based Applications on AWS - March 2017...
 
Microsoft Azure : Microsoft Strategy for Cloud Computing
Microsoft Azure : Microsoft Strategy for Cloud Computing Microsoft Azure : Microsoft Strategy for Cloud Computing
Microsoft Azure : Microsoft Strategy for Cloud Computing
 
Microsoft Azure for Small and Medium Businesses
Microsoft Azure for Small and Medium Businesses Microsoft Azure for Small and Medium Businesses
Microsoft Azure for Small and Medium Businesses
 
AWS April Webinar Series - Easily Build and Scale Mobile Apps with AWS Mobile...
AWS April Webinar Series - Easily Build and Scale Mobile Apps with AWS Mobile...AWS April Webinar Series - Easily Build and Scale Mobile Apps with AWS Mobile...
AWS April Webinar Series - Easily Build and Scale Mobile Apps with AWS Mobile...
 
CTU June 2011 - Hybrid Cloud Management with Microsoft System Center - Concero
CTU June 2011 - Hybrid Cloud Management with Microsoft System Center - ConceroCTU June 2011 - Hybrid Cloud Management with Microsoft System Center - Concero
CTU June 2011 - Hybrid Cloud Management with Microsoft System Center - Concero
 
Creation of cloud application using microsoft azure by vaishali sahare [katkar]
Creation of cloud application using microsoft azure by vaishali sahare [katkar]Creation of cloud application using microsoft azure by vaishali sahare [katkar]
Creation of cloud application using microsoft azure by vaishali sahare [katkar]
 
Windows Azure Platform - Jonathan Wong
Windows Azure Platform - Jonathan WongWindows Azure Platform - Jonathan Wong
Windows Azure Platform - Jonathan Wong
 
Getting Started with Cognito User Pools - September Webinar Series
Getting Started with Cognito User Pools - September Webinar SeriesGetting Started with Cognito User Pools - September Webinar Series
Getting Started with Cognito User Pools - September Webinar Series
 
Automating Compliance Defense in the Cloud - September 2016 Webinar Series
Automating Compliance Defense in the Cloud - September 2016 Webinar SeriesAutomating Compliance Defense in the Cloud - September 2016 Webinar Series
Automating Compliance Defense in the Cloud - September 2016 Webinar Series
 
(MBL311) Workshop: Build an Android App Using AWS Mobile Services | AWS re:In...
(MBL311) Workshop: Build an Android App Using AWS Mobile Services | AWS re:In...(MBL311) Workshop: Build an Android App Using AWS Mobile Services | AWS re:In...
(MBL311) Workshop: Build an Android App Using AWS Mobile Services | AWS re:In...
 
M meijer paas - tech-days 2015
M meijer   paas - tech-days 2015M meijer   paas - tech-days 2015
M meijer paas - tech-days 2015
 

Similaire à Azure Mobile Services per Windows Phone e smartphones

Cloud Computing & Sun Vision 03262009
Cloud Computing & Sun Vision 03262009Cloud Computing & Sun Vision 03262009
Cloud Computing & Sun Vision 03262009guest829442
 
Azure Serrvices Platform Pro Dev Partners
Azure Serrvices Platform Pro Dev PartnersAzure Serrvices Platform Pro Dev Partners
Azure Serrvices Platform Pro Dev PartnersJohn Stame
 
IBM MobileFirst Reference Architecture 1512 v3 2015
IBM MobileFirst Reference Architecture 1512 v3 2015IBM MobileFirst Reference Architecture 1512 v3 2015
IBM MobileFirst Reference Architecture 1512 v3 2015Sreeni Pamidala
 
Azure Mobile Services
Azure Mobile ServicesAzure Mobile Services
Azure Mobile Servicesfatih demir
 
Challenges in a mobile first world
Challenges in a mobile first worldChallenges in a mobile first world
Challenges in a mobile first worldItequia
 
WP7 & Azure
WP7 & AzureWP7 & Azure
WP7 & AzureSam Basu
 
Build Your Mobile App with AWS Mobile Services
Build Your Mobile App with AWS Mobile ServicesBuild Your Mobile App with AWS Mobile Services
Build Your Mobile App with AWS Mobile ServicesAmazon Web Services
 
Powering your Apps with Cloud Services
Powering your Apps with Cloud ServicesPowering your Apps with Cloud Services
Powering your Apps with Cloud ServicesXpand IT
 
Azure Services Platform Oc Event Ned
Azure Services Platform Oc Event NedAzure Services Platform Oc Event Ned
Azure Services Platform Oc Event NedWes Yanaga
 
Multi channel advantage
Multi channel advantageMulti channel advantage
Multi channel advantageDipesh Mukerji
 
Kony Development Cloud
Kony Development CloudKony Development Cloud
Kony Development CloudDipesh Mukerji
 
Sampling from the Cloud Smorgasbord
Sampling from the Cloud SmorgasbordSampling from the Cloud Smorgasbord
Sampling from the Cloud SmorgasbordJim O'Neil
 
Build intelligent solutions using Azure
Build intelligent solutions using AzureBuild intelligent solutions using Azure
Build intelligent solutions using AzureMostafa
 
Fanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone DeveloperFanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone DeveloperSam Basu
 
Pune microsoft azure developers 2nd meetup
Pune microsoft azure developers 2nd meetupPune microsoft azure developers 2nd meetup
Pune microsoft azure developers 2nd meetupratneshsinghparihar
 
Azure: un parque de diversiones en la nube para el desarrollador moderno by A...
Azure: un parque de diversiones en la nube para el desarrollador moderno by A...Azure: un parque de diversiones en la nube para el desarrollador moderno by A...
Azure: un parque de diversiones en la nube para el desarrollador moderno by A....NET Conf UY
 
Build Your Mobile App Faster with AWS Mobile Services
Build Your Mobile App Faster with AWS Mobile ServicesBuild Your Mobile App Faster with AWS Mobile Services
Build Your Mobile App Faster with AWS Mobile ServicesAmazon Web Services
 
Connect with your customers wherever they are with an azure based mobile solu...
Connect with your customers wherever they are with an azure based mobile solu...Connect with your customers wherever they are with an azure based mobile solu...
Connect with your customers wherever they are with an azure based mobile solu...Jeremy Thake
 
Connect with your customers wherever they are with an azure based mobile solu...
Connect with your customers wherever they are with an azure based mobile solu...Connect with your customers wherever they are with an azure based mobile solu...
Connect with your customers wherever they are with an azure based mobile solu...Jeremy Thake
 
Microsoft Partner Roadshow - To the Cloud
Microsoft Partner Roadshow  - To the CloudMicrosoft Partner Roadshow  - To the Cloud
Microsoft Partner Roadshow - To the CloudNigel Watson
 

Similaire à Azure Mobile Services per Windows Phone e smartphones (20)

Cloud Computing & Sun Vision 03262009
Cloud Computing & Sun Vision 03262009Cloud Computing & Sun Vision 03262009
Cloud Computing & Sun Vision 03262009
 
Azure Serrvices Platform Pro Dev Partners
Azure Serrvices Platform Pro Dev PartnersAzure Serrvices Platform Pro Dev Partners
Azure Serrvices Platform Pro Dev Partners
 
IBM MobileFirst Reference Architecture 1512 v3 2015
IBM MobileFirst Reference Architecture 1512 v3 2015IBM MobileFirst Reference Architecture 1512 v3 2015
IBM MobileFirst Reference Architecture 1512 v3 2015
 
Azure Mobile Services
Azure Mobile ServicesAzure Mobile Services
Azure Mobile Services
 
Challenges in a mobile first world
Challenges in a mobile first worldChallenges in a mobile first world
Challenges in a mobile first world
 
WP7 & Azure
WP7 & AzureWP7 & Azure
WP7 & Azure
 
Build Your Mobile App with AWS Mobile Services
Build Your Mobile App with AWS Mobile ServicesBuild Your Mobile App with AWS Mobile Services
Build Your Mobile App with AWS Mobile Services
 
Powering your Apps with Cloud Services
Powering your Apps with Cloud ServicesPowering your Apps with Cloud Services
Powering your Apps with Cloud Services
 
Azure Services Platform Oc Event Ned
Azure Services Platform Oc Event NedAzure Services Platform Oc Event Ned
Azure Services Platform Oc Event Ned
 
Multi channel advantage
Multi channel advantageMulti channel advantage
Multi channel advantage
 
Kony Development Cloud
Kony Development CloudKony Development Cloud
Kony Development Cloud
 
Sampling from the Cloud Smorgasbord
Sampling from the Cloud SmorgasbordSampling from the Cloud Smorgasbord
Sampling from the Cloud Smorgasbord
 
Build intelligent solutions using Azure
Build intelligent solutions using AzureBuild intelligent solutions using Azure
Build intelligent solutions using Azure
 
Fanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone DeveloperFanug - Pragmatic Windows Phone Developer
Fanug - Pragmatic Windows Phone Developer
 
Pune microsoft azure developers 2nd meetup
Pune microsoft azure developers 2nd meetupPune microsoft azure developers 2nd meetup
Pune microsoft azure developers 2nd meetup
 
Azure: un parque de diversiones en la nube para el desarrollador moderno by A...
Azure: un parque de diversiones en la nube para el desarrollador moderno by A...Azure: un parque de diversiones en la nube para el desarrollador moderno by A...
Azure: un parque de diversiones en la nube para el desarrollador moderno by A...
 
Build Your Mobile App Faster with AWS Mobile Services
Build Your Mobile App Faster with AWS Mobile ServicesBuild Your Mobile App Faster with AWS Mobile Services
Build Your Mobile App Faster with AWS Mobile Services
 
Connect with your customers wherever they are with an azure based mobile solu...
Connect with your customers wherever they are with an azure based mobile solu...Connect with your customers wherever they are with an azure based mobile solu...
Connect with your customers wherever they are with an azure based mobile solu...
 
Connect with your customers wherever they are with an azure based mobile solu...
Connect with your customers wherever they are with an azure based mobile solu...Connect with your customers wherever they are with an azure based mobile solu...
Connect with your customers wherever they are with an azure based mobile solu...
 
Microsoft Partner Roadshow - To the Cloud
Microsoft Partner Roadshow  - To the CloudMicrosoft Partner Roadshow  - To the Cloud
Microsoft Partner Roadshow - To the Cloud
 

Plus de Marco Parenzan

Azure IoT Central per lo SCADA engineer
Azure IoT Central per lo SCADA engineerAzure IoT Central per lo SCADA engineer
Azure IoT Central per lo SCADA engineerMarco Parenzan
 
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptxStatic abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptxMarco Parenzan
 
Azure Synapse Analytics for your IoT Solutions
Azure Synapse Analytics for your IoT SolutionsAzure Synapse Analytics for your IoT Solutions
Azure Synapse Analytics for your IoT SolutionsMarco Parenzan
 
Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central Marco Parenzan
 
Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT CentralPower BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT CentralMarco Parenzan
 
Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT CentralPower BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT CentralMarco Parenzan
 
Developing Actors in Azure with .net
Developing Actors in Azure with .netDeveloping Actors in Azure with .net
Developing Actors in Azure with .netMarco Parenzan
 
Math with .NET for you and Azure
Math with .NET for you and AzureMath with .NET for you and Azure
Math with .NET for you and AzureMarco Parenzan
 
Power BI data flow and Azure IoT Central
Power BI data flow and Azure IoT CentralPower BI data flow and Azure IoT Central
Power BI data flow and Azure IoT CentralMarco Parenzan
 
.net for fun: write a Christmas videogame
.net for fun: write a Christmas videogame.net for fun: write a Christmas videogame
.net for fun: write a Christmas videogameMarco Parenzan
 
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...Marco Parenzan
 
Anomaly Detection with Azure and .NET
Anomaly Detection with Azure and .NETAnomaly Detection with Azure and .NET
Anomaly Detection with Azure and .NETMarco Parenzan
 
Deploy Microsoft Azure Data Solutions
Deploy Microsoft Azure Data SolutionsDeploy Microsoft Azure Data Solutions
Deploy Microsoft Azure Data SolutionsMarco Parenzan
 
Deep Dive Time Series Anomaly Detection in Azure with dotnet
Deep Dive Time Series Anomaly Detection in Azure with dotnetDeep Dive Time Series Anomaly Detection in Azure with dotnet
Deep Dive Time Series Anomaly Detection in Azure with dotnetMarco Parenzan
 
Anomaly Detection with Azure and .net
Anomaly Detection with Azure and .netAnomaly Detection with Azure and .net
Anomaly Detection with Azure and .netMarco Parenzan
 
Code Generation for Azure with .net
Code Generation for Azure with .netCode Generation for Azure with .net
Code Generation for Azure with .netMarco Parenzan
 
Running Kafka and Spark on Raspberry PI with Azure and some .net magic
Running Kafka and Spark on Raspberry PI with Azure and some .net magicRunning Kafka and Spark on Raspberry PI with Azure and some .net magic
Running Kafka and Spark on Raspberry PI with Azure and some .net magicMarco Parenzan
 
Time Series Anomaly Detection with Azure and .NETT
Time Series Anomaly Detection with Azure and .NETTTime Series Anomaly Detection with Azure and .NETT
Time Series Anomaly Detection with Azure and .NETTMarco Parenzan
 

Plus de Marco Parenzan (20)

Azure IoT Central per lo SCADA engineer
Azure IoT Central per lo SCADA engineerAzure IoT Central per lo SCADA engineer
Azure IoT Central per lo SCADA engineer
 
Azure Hybrid @ Home
Azure Hybrid @ HomeAzure Hybrid @ Home
Azure Hybrid @ Home
 
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptxStatic abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx
 
Azure Synapse Analytics for your IoT Solutions
Azure Synapse Analytics for your IoT SolutionsAzure Synapse Analytics for your IoT Solutions
Azure Synapse Analytics for your IoT Solutions
 
Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central
 
Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT CentralPower BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central
 
Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT CentralPower BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central
 
Developing Actors in Azure with .net
Developing Actors in Azure with .netDeveloping Actors in Azure with .net
Developing Actors in Azure with .net
 
Math with .NET for you and Azure
Math with .NET for you and AzureMath with .NET for you and Azure
Math with .NET for you and Azure
 
Power BI data flow and Azure IoT Central
Power BI data flow and Azure IoT CentralPower BI data flow and Azure IoT Central
Power BI data flow and Azure IoT Central
 
.net for fun: write a Christmas videogame
.net for fun: write a Christmas videogame.net for fun: write a Christmas videogame
.net for fun: write a Christmas videogame
 
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
 
Anomaly Detection with Azure and .NET
Anomaly Detection with Azure and .NETAnomaly Detection with Azure and .NET
Anomaly Detection with Azure and .NET
 
Deploy Microsoft Azure Data Solutions
Deploy Microsoft Azure Data SolutionsDeploy Microsoft Azure Data Solutions
Deploy Microsoft Azure Data Solutions
 
Deep Dive Time Series Anomaly Detection in Azure with dotnet
Deep Dive Time Series Anomaly Detection in Azure with dotnetDeep Dive Time Series Anomaly Detection in Azure with dotnet
Deep Dive Time Series Anomaly Detection in Azure with dotnet
 
Azure IoT Central
Azure IoT CentralAzure IoT Central
Azure IoT Central
 
Anomaly Detection with Azure and .net
Anomaly Detection with Azure and .netAnomaly Detection with Azure and .net
Anomaly Detection with Azure and .net
 
Code Generation for Azure with .net
Code Generation for Azure with .netCode Generation for Azure with .net
Code Generation for Azure with .net
 
Running Kafka and Spark on Raspberry PI with Azure and some .net magic
Running Kafka and Spark on Raspberry PI with Azure and some .net magicRunning Kafka and Spark on Raspberry PI with Azure and some .net magic
Running Kafka and Spark on Raspberry PI with Azure and some .net magic
 
Time Series Anomaly Detection with Azure and .NETT
Time Series Anomaly Detection with Azure and .NETTTime Series Anomaly Detection with Azure and .NETT
Time Series Anomaly Detection with Azure and .NETT
 

Dernier

Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 

Dernier (20)

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 

Azure Mobile Services per Windows Phone e smartphones

  • 1. Azure Mobile Services per Windows Phone e Smartphones Edizione AppDays Fiera del Radioamatore/2014 Marco Parenzan
  • 2. Marco Parenzan  Formazione & Divulgazione con 1nn0va  Ricerca e Innovazione con Servizi Cgn  www.slideshare.net/marco.parenzan  marco [dot] parenzan [at] libero/live [dot] it  www.innovazionefvg.net  Developer e Architect in .NET e Web  Cloud Developer
  • 4. Mobile (oggi)…  …domani ci saranno tanti nomi:  Devices  Intelligente Devices  Internet of Things  App è il modello delle applicazioni che provengono da uno «shop»  Tipico per questo tipo di dispositivi  Anche nei PC (es. Windows 8) ora si chiamano App
  • 5. App=Client+Services  Quando parliamo di app, pensiamo subito allo smartphone e alla «grafica»  Una app non funziona mai da sola  Parliamo di applicazioni «connesse»  Il valore dello smartphone è essere «online»  Sei online perché comunichiamo con dei servizi  Identità (Facebook, live.it, gmail.com, linkedin, …)  Email (Live, Gmail, …)  Storage drives (OneDrive, GoogleDrive, DropBox, ….)  …  Se tutti percepiamo come scrivere una app, come scriviamo un servizio?
  • 6. Servizi per le App  I servizi per le app sono composti da due parti fondamentali  Il Codice  L’infrastruttura  Il codice è la parte «che fa il lavoro»  Lo scriviamo in qualche linguaggio (Javascript+HTML, C# e XAML, Java, PHP, ….)  L’infrastruttura dà gli «attributi» al servizio  Qualità  Disponibilità  Funzionalità
  • 7. Introduzione al Cloud Computing e Microsoft Azure
  • 8. Cos’è il Cloud Computing
  • 9. Cos’è il Cloud Computing
  • 10. Cos’è il Cloud Computing
  • 11. Windows Azure  Comprehensive set of services that enable you to quickly build, deploy and manage applications across a global network of Microsoft-managed datacenters
  • 13. Pay for what you use
  • 15. Types of “cloud” offerings
  • 16. PaaS for the Modern Web
  • 18. On-Premises Models for Building and Running Apps Virtualization O/S Hardware Native Code Custom Software Network Data Applications Firewall Web Sites Applications Data Cloud Services Native Code Startup Tasks Applications Firewall Rules Data Virtual Network Virtual Machines Native Code Custom Software Virtual Network Data Applications Firewall Rules O/S Mobile Services Applications Data Auth Notifications
  • 19. Go Live Rapid deployment for quick iteration Integrated source control with Team Foundation Server (TFS) and Git Built-in monitoring of perf and usage data Quick access to request logs, failed requests diagnostics and diagnostics
  • 20. Enterprise grade  High availability with SLA on reserve instances.  A global network of data centers.  Guaranteed SLA and 24/7 support. Load balanced Up to date Easily scale Economical
  • 21. Scalability  Scaling up and scaling out
  • 22. Scaling Multi-tenant. Daily quotas Multi-tenant. Daily quotas Dedicated VMs. No quotas
  • 26. Mobile Services  Easily build cloud back-ends  Data, identity, push notifications, and scheduled scripts  Windows Store, Windows Phone, iOS, and Android
  • 27. Mobile Services Services for Cloud and Mobile Applications
  • 28. What are Mobile Services?
  • 29. Structured Storage  Powered by SQL Database  Same DB – Multiple Mobile Services  AppX.Todoitem  AppY.Todoitem  Data management in  Windows Azure Portal  SQL Portal, SQL Management Studio  REST API  CLI Tools
  • 30. The REST API Action HTTP Verb URL Suffix Create POST /TodoItem Read GET /TodoItem?$filter=id%3D42 Update PATCH /TodoItem/id Delete DELETE /TodoItem/id https://Mobileservice.azure-mobile.net/tables/*
  • 31. JSON to SQL Type Mappings JSON Value T-SQL Type Numeric values (integer, decimal, floating point) Float(53) Boolean Bit DateTime DateTimeOffset(3) String Nvarchar(max)
  • 32. Auth*  Authenticate against Microsoft Account, Twitter, Facebook, Google  Table level permissions for each CRUD operation  Everyone  Anyone with the Application Key  Only Authenticated Users  Only Scripts and Admins  More granular control with server side scripts  user.level: {admin, authenticated, anonymous}  user.userId: id or undefined if not authenticated
  • 33. The User object  User.level  Anonymous  Authenticated  Admin  User.userId  Provider:id or undefined  User.getIdentities()  UserId  Provider Access Token / Secret
  • 35. Push Notifications  Integrates with WNS to provide Toast, Tile, Badge and Raw notifications  Portal captures your WNS client secret and package SID  push.wns.* provides:  clean easy object model to compose notifications  Performs auth against WNS for you
  • 36. How Push Notifications Work Retrieve device handle PNS (APNS, WNS, GCM) Store handle in app back-end Send notification to handle Device notified (even when app is inactive)
  • 37. Server Side Scripts  Customizing logic on the server
  • 38. Node Modules  Extensibility through numerous included modules
  • 39. How Service Bus Notification Hub Works Retrieve device handle PNS Registration with tags Send notification to handle Push notification
  • 41. More on script options: Custom API  Non-table based scripts  Accessible from  Get  Post  Put  Patch  Delete  Same permissions as tables
  • 42. Storage: What are our options?
  • 43. Script Source Control  Handled through GIT repo • Access to table, scheduler, custom API, shared scripts, and permissions  Shared Scripts • Make scripts accessible from other scripts • Just like creating Node.js modules  NPM • Ability to use ‘npm install module’ to download NPM modules
  • 44. Mobile Services Tiers Free Standard Premium Usage Restrictions Up to 10 services, Up to 500 Active Devices* N/A N/A API Calls 500K (per subscription) 1.5M (per unit) 15M (per unit) Scale N/A Up to 6 Standard units Up to 10 Enterprise units Scheduled Jobs Limited Included Included SQL Database (required) 20MB Included, Standard rates apply for more capacity 20MB Included, Standard rates apply for more capacity 20MB Included, Standard rates apply for more capacity
  • 46. Conclusions  il Cloud Computing è la piattaforma di riferimento per complementare la parte «client» di una App  Microsoft Azure è la piattaforma Cloud di riferimento per ricchezza di servizi e molteplicità di modelli per lo sviluppo  Azure Mobile Services sono una piattaforma che semplifica l’acceso al Cloud per chiunque voglia scrivere app…  …avendo subito servizi di classe enterprise  …ma potrà scalare a modelli e livelli di servizio ancora più alti
  • 47. Grazie!  www.slideshare.net/marco.parenzan  marco [dot] parenzan [at] libero/live [dot] it  www.innovazionefvg.net  @marco_parenzan  it.linkedin.com/in/marcoparenzan  www.facebook.com/parenzan.marco  www.marcoparenzan.it  www.slideshare.net/marco.parenzan  github.com/marcoparenzan  www.scoop.it/u/marco-parenzan Q&A

Notes de l'éditeur

  1. Speaking Points:There are numerous terms and definitions floating around in the industry for “the cloud”, “cloud computing”, “cloud services”, etc.Microsoft thinks of the cloud as simply an approach to computing that enables applications to be delivered at scale for a variety of workloads and client devices.The cloud can help deliver IT as a standardized service…freeing you up to focus on your business
  2. Speaking Points:There are numerous terms and definitions floating around in the industry for “the cloud”, “cloud computing”, “cloud services”, etc.Microsoft thinks of the cloud as simply an approach to computing that enables applications to be delivered at scale for a variety of workloads and client devices.The cloud can help deliver IT as a standardized service…freeing you up to focus on your business
  3. Speaking Points:Windows Azure itself is deployed around the worldWith Windows Azure, we have a concept of regions, which is where you choose to place your code and run. In each of the regions, we have a Microsoft datacenter. These datacenters are massive facilities that host 10s or in some cases hundreds of thousands of serversWe have currently four regions in North America, two regions in Europe, and two in AisaAs you can see on this slide we also have a number of CDN edge points, which we can use to cache your content and deliver it even faster for customers. %What you’re going to see in the next couple months and years is that we will rapidly expand our datacenter footprint around the world, so you will have more options for running your applications. Once you build an application, you can choose where you want to run in the world and you can move your workloads from region to region. You can also run your application in multiple regions simultaneously and just direct traffic and customers to whichever version of the app is closest to them. That gives you a global footprint and a chance to reach a bigger customer base or audience in new marketsNotes:Windows Azure services such as compute and storage are now available in 8 worldwide datacenters with an additional 24 Content Delivery Network endpoints. You can’t have a real cloud without a data center.
  4. Speaking Points:The final thing I’ll mention about Windows Azure, before we dive into the tour of services is the approach we’re taking with paying for services.This maybe different for many of you who are familiar with hosting providers and on-premises systems. With Windows Azure you pay only for what you use.There are no upfront costThere is no need to buy any up front server licenses, that’s just included in the priceLikewise if you use a SQL database, through our SQL Database feature in Windows Azure, you don’t have to buy a SQL Server license, that’s also included in the price. For compute services such as Virtual Machines and Web Sites you only pay by the hour. This gives you the flexibility to run your applications very cost effectively. You can scale up and scale down your solutions or even turn them on and off as necessary. This also opens up a ton of possibilities in terms of the new types of apps you can build
  5. Microsoft believes that PaaS provides the best foundationfor creating, running and managing custom applicationsWindows Azure Websites is a scalable, secure and flexible platform for building powerful web applications to run your business, drive your brand or reach new customers.
  6. Slide Objectives:Detail the differing compute options and scenarios where each would be used
  7. Slide Objectives:Explain the three scale choices on Windows Azure Web Sites.Notes:Both free and shared are the same architecture. With standard you isolate your application to your own virtual machines that you can use and pay for whatever resources you choose.Online Resources:If you’d like more details on Web Site pricing and quota, see the Windows Azure pricing page here: http://www.windowsazure.com/en-us/pricing/details/web-sites/
  8. Speaking Points:Transition:So we’ve seen three ways to run your code in Windows Azure - Virtual machines, Web Sites, and Cloud ServicesNow let’s look at the fourth compute service called Windows Azure Mobile Services.DefinitionMobile Services is an exciting new service that we introduced about three months ago and we’ve rapidly been updating with new features and services. I’m sure that many of you today are building device applications that need connectivity to services and data. Mobile Services are designed specifically to make it really simply for you to build cloud back-ends that power mobile device applications by providing common functionality you need as configurable services. Features:Mobile Services provides the ability to easily store and retrieve data, manage users with several different identify providers including Microsoft Account, Twitter, Facebook, and Google accounts, and the ability to send push notifications to devices. Today Mobile Services has native SDKs for Windows 8 Store applications, Windows Phone apps, and iOS applications. We’re also adding Android and HTML5 support in the near future.
  9. Slide Objectives:Explain what a Backend-as-a-service isExplain the features (at a high level) that Mobile Services offersTransition:Let’s answer the question, what is Mobile Services?Speaking Points:Mobile Services is a Backend-as-a-Service (BaaS).Instead of coding, testing, deploying, and maintaining your own backend, you spin up a Mobile Service and can instantly take advantage of a ton of great features.These features include:Data storage powered by SQL Database (but not requiring you to be a DBA)Simple and easy to use push notificationsUser authentication and data authorizationServer side logic so you can craft how your application will function on the server.Scaling – so you can meet the demand of your mobile apps when they get featuredLogging and Diagnostics so you can get insight into how your Mobile Service is workingBackend processing using something called SchedulerNotes:You may want to mention at this time that support exists for other platforms as well (Win Store, Win Phone, Android, iOS, HTML/JS, Xamarin, etc)
  10. Slide Objectives:Explain how Mobile Services is backed by SQL Database and how that data is accessibleTransition:We just saw a great example of how our apps can make use of the data storage capabilities of Mobile ServicesSpeaking Points:Without having to do more on the server side than say we wanted a table named TodoItem, we were able to start storing data in our databaseWe created a new DB for this Mobile Service, but, we can use the same database for multiple mobile services. This is possible because each table created has it’s schema (sort of like a prepended name) set to the name of that mobile service.We just saw in the portal that you can see your data. You can also delete individual rows or clear out (truncate) whole tables. Additionally you can access the data from:The SQL Portal – a silverlight tool used to do DB administration SQL Management Studio – the windows based DB administration toolThe REST API – automatically used by the Mobile Services SDK, can also be accessed from anything capable of doing HTTP callsCommand Line Interface tools – we’ll look more at these later.Notes:
  11. Slide Objectives:Explain the REST APIContinue to point out that the REST API allows anything capable of HTTP to talk to your Mobile Service even if there isn’t an SDKTransition:Let’s talk more about the REST APISpeaking Points:Whenever you generate a table, the REST API is auto created for youEach of the operations for your table are available from https://yourmobileservice.azure-mobile.net/tables/*Operations match up like so:Create – POSTRead – GETUpdate – PATCHDelete – DELETEFor reading items, you can use the SDK to generate a filter (as we did to filter out completed items) which will automatically be converted to an ODATA filter in the query string and then to a SQL query on the server side.Notes:
  12. Slide Objectives:Explain how Mobile Services maps data types sent over as JSON to SQL types when it uses dynamic schematization to create new columnsTransition:Let’s talk about how Mobile Services creates new DB columns nextSpeaking Points:As we said before, Mobile Services uses Dynamic Schematization to inspect the data you send over to create new columnsThis is the mapping it uses:Numbers are stored as float(53)Booleans are stored as a bitDateTime are stored as DateTimeOffset(3)Strings are stored as nvarchar(max)Notes:You may want to point out that we’re looking to add other types (i.e. GEO) in the future
  13. Slide Objectives:Detail Auth optionsSpeaking Points:Windows Azure Mobile Services enables you to set the following permissions on table operations: Everyone: This means that any request for the operation against the table is accepted. This option leaves your data wide-open for everyone to access. Anybody with the Application Key: Only the correct application key is required to perform the operation. The application key is distributed with the application. Because this key is not securely distributed, it cannot be considered a security token. To secure access to you mobile service data, you must implement authentication. Only Authenticated Users: Only authenticated users are permitted to perform the operation. In this preview release, clients are authenticated by Live Connect services. Scripts can be used to further restrict access to tables based on an authenticated user. Only Scripts and Admins: The operation requires the service master key, which limits the operation only to registered scripts or to administrator accounts. The user parameter is available in all server side scripts methods and can be used to add more granular auth polices on you CRUD operationsNotes:
  14. Slide Objectives:Review what the User object gets you access to inside your scriptsTransition:n/aSpeaking Points:You may have noticed earlier that one of the parameters to my scripts is a user objectThis user object has a few important properties and methodsFirst the level property tells us if the calling user is Anonymous, Authenticated, or an AdminThe userId will give us their ID which is either undefined or provider:idLastly, there is a method call getIdentites() which will give us both the User ID but also the provider access token / secretSo if you need to get the actual information back from the provider (i.e. Twitter) to do something (i.e. Tweet on behalf of the user) that method is how you would do itNotes:
  15. Slide Objectives:Detail the types of notifications available with WNSDetail how WNS Authcredentails are captured Detail the API namespace for pushSpeaking Points:Talk through slideRaw notification support coming soon. Notes:
  16. Slide Objectives:Explains how notifications work without Service Bus Notification HubSpeaker Notes:Main challengesPlatform dependency – code multiple interfaces in the backendScale – PNS handle needs to be refreshed when app is launched; Most PNSs don’t support multicastingRouting – not able to filter messages by custom criteriahttp://msdn.microsoft.com/en-us/library/windowsazure/jj927170.aspx
  17. Slide Objectives:Start talking about server side scriptsTransition:Speaking Points:In addition to creating a REST API when you generate a table, Mobile Services also creates scripts which intercept CRUD requests against your tableAs Mobile Services is built off of Node.js, these scripts are Node style scriptsBy default these scripts just pass through whatever you have sent over to SQL DBHowever, you can customize your own logic in these scripts to do whatever you wantNotes:
  18. Slide Objectives:Mention some of the modules available out of the box in the server side scriptsTransition:There is a ton of stuff you can do in the scripts and we’ve exposed several modules already to make doing things easySpeaking Points:Some of the modules available out of the box areRequest – for performing http requests to third party servicesPush.* - for doing push notifications with APNS, GCM, WNS, MPNSConsole – for logging informationMSSQL – for performing custom SQL queries and calling stored proceduresstatusCodes – for returning a status code other than what is expectedAzure – for getting access to Windows Azure Table and Blob storage, queues, service bus, etcWe also have several partners in the Windows Azure store who offer you other abilitiesSendgrid – allows sending emailsPusher – facilitates web socket style real time communication down to mobile apps and websitesTwilio – sends SMS messages and offers some other voice capabilitiesIn addition to the modules available out of the box. If you enable source control on your mobile service you can then use the node package manager npm install to install any available node package (e.g twitter, imageprocesing, anything) into your mobile service.Notes:
  19. Slide Objectives:Explains how notifications work withService Bus Notification HubSpeaker Notes:Main benefitsMultiple-platforms – common interface to send notifications to all supported platformsPub/Sub routing – devices specify tags when register with notification hubScale – notification hubs scale to millions of devices without the need of architecting or shardinghttp://msdn.microsoft.com/en-us/library/windowsazure/jj927170.aspx
  20. Slide Objectives:Review Custom APITransition:Earlier we saw how to execute scripts during a CRUD operation against a table. Sometimes you don’t want to hit a table because you’re not necessarily doing anything with SQLSpeaking Points:This is easy to accomplish with Custom APIA Custom API is a non-table based script that is exposed by a REST API with the following methods:GETPOSTPUTPATCHDELETEYou can set permissions on these operations just like with table operationsNotes:
  21. Slide Objectives:Detail the storage options available within Windows Azure
  22. Slide Objectives:Review Script Source Control, Shared Scripts, and NPM supportTransition:When Mobile Services was launched, you were limited to editing scripts in the portal and using only the modules we made availableSpeaking Points:Thankfully now, we’ve opened things up so you can do so much more.Script source control allows you to:Create a Git repo where you can pull and push your table, scheduler, custom API scripts and permissionsEnables you to work on your scripts locally and push them to your Mobile ServiceShared Scripts enable you to:Put functionality you need in several places into a single script which you then mark as exportedYou can then require these scripts from your table, scheduler, and custom API scriptsJust like creating an NPM moduleNPM support allows you to install from the vast array of NPM modules publicly available and then use from your other scriptsNotes:
  23. Slide Objectives:Review tiersTransition:Let’s look at the tiers in more detailSpeaking Points:Review each tier and how it differsFor SQL Database, explain there is a 20mb free DB you can use (one per sub) but SQL is charged SEPARATELY from Mobile ServicesNotes:Pricing has been left off of this slide in case of changes but you should have a good idea of what the pricing per unit should be going into this