SlideShare ist ein Scribd-Unternehmen logo
1 von 39
The Magic Box – Windows Azure
     Mobile
     Antimo Musone
     antimo.musone@hotmail.com
     www.antimomusone.com

Template designed by
brought to you by
chi siamo / chi sono

                  Technical Architect for Avanade

                  Microsoft Student Partner

                  Co-Founder of 5 th Element Project
                  http://www.fifthelementproject.com
                  http://antimomusone.com
agenda

Cloud & Azure

Scenario
Azure Mobile
Demo

Q&A
Cloud Computing

What is the cloud?
                An approach to computing that’s about internet scale
                and connecting to a variety of devices and endpoints
Cloud Computing Types




 IaaS
Infrastructure-
                  PaaS
                  Platform-as-a-
                                    SaaS
                                   Software-as-a-
                                                    StaS
                                                    Storage-as-a-
                                                                    NaaS
                                                                    Network-as-a-
 as-a-Service         Service          Service         Service         Service
Windows Azure

Windows Azure   Comprehensive set of services that enable you to quickly build,
                  deploy and manage applications across a global network of
                  Microsoft-managed datacenters
Device + Cloud

Three Reasons for Device + Cloud

                     1   Allows new application scenarios


                     2   The cloud levels the playing field

                         The cloud provides a way to reach across device
                     3     platforms and a larger pool of resources from
                           which to pull
Scenario
Scenario OCR App

                                               Any pictures?
       SAS                                                          Process Image
                                                               Windows Azure

                                                                    Translated Text
                          Authenticate Token
                              Access Token
                            Job Completed
                               Access
                             Shared Access                              Send Image
                             Signature           Translated
                                                 Text



             Translated
             Text
                                                                Hawaii OCR &
                                                                Bing Translator
The Magic Box

Azure Mobile Features
Targets

Platforms
Technology

Interoperability
                   Features
                                OData

                               OAUTH

                          Http Rest Interface

                                JSON
Data Mobile Storage
Storage Technology

REST API Interface
                       Features
                       https://<service>. azuremobile.net/tables /<tabl
                                          e_name>


                                      OData Protocol

                       HTTP METHOD GET, POST, PATCH, DELETE

                           Request & Response Body use JSON
Authorization Level

Authorization Header Request
                                 X-ZUMO-{ APPLICATION | AUTH |
                                                  MASTER
                                X-ZUMO- Header for different
                               authorization
                               Everyone                  None
                               Anybody with the
                                                         X-ZUMO-APPLICATION
                               application key
                               Only Authenticated
                                                         X-ZUMO-AUTH
                               Users
                               Only Scripts and Admins   X-ZUMO-MASTER
Storage Architecture

SQL Azure Database Infrastructure
                              Features
                               Manage your way (portal, REST API, SSMS, etc.)


                                   Partition applications by schema in DB


                                     Dynamic Schema Support (on/off)


                                Reporting, TSQL support, existing tools, etc.
Example of Request
Data Storage – Example for Todo List Service
oRequest
  HTTP Method : GET https://todolist.azuremobile.net/tables/TodoItem?$filter=(complete%20eq%20false)
  Header : Accept: application/json X-ZUMO-APPLICATION: UzMAOXRlJdZyqibeUqCMoZZMrUXIRs92 Host: todolist.azure-mobile.net


o Response
  HTTP/1.1 200 OK
  [{"id":1,"text":"Sign-up for the free trial","complete":false},
  {"id":2,"text":"Create the mobile service","complete":false }, {"id":3,"text":"Complete the quickstart","complete":false}]
Hello Data Storage
demo
Business Logic
Node.js

Node's goal is to
provide an easy way to
build scalable network
programs
Mono –Thread Networking
Event-Driven
Google's V8 JavaScript engine
Server-side JavaScript application
No dead-locking
Improvement of memory management
Node.js

Windows Azure offer a SDK to develop and build web
application with Node.js hosted in the cloud

Example of server              var http = require("http");
application
                               function onRequest(request, response) {
File javascript Server.js ->       console.log("Richiesta ricevuta dal server");
                                   response.writeHead(200, {"Content-Type":"text/plain"});
                                   response.write("Richiesta ricevuta");
                                   response.end();
                               }
                               http.createServer(onRequest).listen(8080);
                               console.log("Server avviato");
Azure Mobile Business Logic

Architecture
Intercept CRUD operations and apply your logic with JavaScript scripts
                                          node.js

                                             Scripting


                                 function(item, user, request)
                                 {                                                  DB
                                 …..
                                 }

                       User authentication                       Dynamic schematization
Business Logic
Business Logic – Node.js
Kn o w n ob je cts an d mo d ule s
   o azure
   o sendgrid
   o console
   o mssql
   o push
   o statusCodes
   o table
   o request
   o crypto
   o util




                                     var SendGrid = require('sendgrid').SendGrid;
                                     var sendgrid = new SendGrid(‘<account>', ‘<password>');

                                     sendgrid.send({
                                       to: userItem.EmailAddress,
                                       from: 'notifications@mytodoitem.azure-mobile.net',
                                       subject: 'New ToDoItem Added!!',
                                       text: 'A new MyToDoItem was added: ' + item.text},
                                       function(success, message)
                                       {
                                          // If the email failed to send, log it as an error.
                                          if (!success) {
                                              console.error('SendGrid Error! ' + message);
                                          } });
Hello Business Logic
demo
Authentication
Authentication
Different Providers




Accounts : Microsoft, Facebook, Twitter, Google.
OAuth 2.0 to consume your data
Authentication - Rules

Set Level of Authorization

Table level authorization for CRUD operations
Everyone                                   any request by anyone is accepted

Anybody with the application key           app key distributed w/ the app (default

Only Authenticated Users                   users authenticated by Live Connect
Only Scripts and Admins                    registered scripts or requests via the master key


Your application can add whatever other authorization is needed.
Authentication - Scripts
Server script to match against your table (role-based access,
specific user, etc.)
Push Notifications
Push Notifications - Architecture

Push Notification – How ?


               (2)


       (1)                  (3)

               (3)
Push Notifications - How

Push Notification – Logic

Register your push notification on mobile service
   WNS client secret and package SID for Windows
   API KEY for Android
   Certificate for IOS

Ability to send Tile, Toast, Badge, and Raw notifications.

Push logic
   Node.js module to create push notifications
Diagnostic & Log
Diagnostic
Logging
Scale

Don’t forget , it’s cloud !
Get Started
Get Started
http://www.windowsazure.com
Services -> 750 ore al mese di istanze di calcolo piccole
Web -> 10 siti Web
Mobile Service ->10 servizi mobili
RDBS ->1 database SQL
Report SQL ->100 ore al mese
Storage -> 70 GB con 50.000.000 transazioni di archiviazione
Trasferimenti di dati ->senza limiti in ingresso e 25 GB in uscita
Multimedial Services -> 50 GB (input e output combinati)
CDN -> 20 GB in uscita con 500.000 transazioni
Cache -> 128 MB
Grazie




                        :-)
Per contattarmi

     antimo.musone@student-partners.com

     antimo.musone@avanade.com

Weitere ähnliche Inhalte

Was ist angesagt?

Microsoft PaaS Cloud Windows Azure Platform
Microsoft PaaS Cloud Windows Azure PlatformMicrosoft PaaS Cloud Windows Azure Platform
Microsoft PaaS Cloud Windows Azure PlatformEsri
 
NIC 2013 - Configure and Deploy Private Cloud
NIC 2013 - Configure and Deploy Private CloudNIC 2013 - Configure and Deploy Private Cloud
NIC 2013 - Configure and Deploy Private CloudKristian Nese
 
Oracle Public Cloud: Oracle Java Cloud Service, by Nino Guarnacci
Oracle Public Cloud: Oracle Java Cloud Service, by Nino GuarnacciOracle Public Cloud: Oracle Java Cloud Service, by Nino Guarnacci
Oracle Public Cloud: Oracle Java Cloud Service, by Nino GuarnacciCodemotion
 
High Value Cloud Services
High Value Cloud ServicesHigh Value Cloud Services
High Value Cloud ServicesLaura Ventura
 
Windows Azure For Architects
Windows Azure For ArchitectsWindows Azure For Architects
Windows Azure For ArchitectsAnko Duizer
 
9 dani künzli citrix cloud solution 2
9 dani künzli citrix cloud solution 29 dani künzli citrix cloud solution 2
9 dani künzli citrix cloud solution 2Digicomp Academy AG
 
Paving the Way to IT-as-a-Service
Paving the Way to IT-as-a-ServicePaving the Way to IT-as-a-Service
Paving the Way to IT-as-a-Servicebuildacloud
 
MED203 Scalable Media Processing - AWS re: Invent 2012
MED203 Scalable Media Processing - AWS re: Invent 2012MED203 Scalable Media Processing - AWS re: Invent 2012
MED203 Scalable Media Processing - AWS re: Invent 2012Amazon Web Services
 
Public clouds go mainstream - october 19 - 10m
Public clouds go mainstream - october 19 - 10mPublic clouds go mainstream - october 19 - 10m
Public clouds go mainstream - october 19 - 10mAlistair Croll
 
MED303 Addressing Security in Media Workflows - AWS re: Invent 2012
MED303 Addressing Security in Media Workflows - AWS re: Invent 2012MED303 Addressing Security in Media Workflows - AWS re: Invent 2012
MED303 Addressing Security in Media Workflows - AWS re: Invent 2012Amazon Web Services
 
Microsoft Best Practices - AWS India Summit 2012
Microsoft Best Practices - AWS India Summit 2012Microsoft Best Practices - AWS India Summit 2012
Microsoft Best Practices - AWS India Summit 2012Amazon Web Services
 
Cloud Computing & Windows Azure
Cloud Computing & Windows AzureCloud Computing & Windows Azure
Cloud Computing & Windows Azureyeschandana
 
Azure vmware solutions para partners
Azure vmware solutions para partnersAzure vmware solutions para partners
Azure vmware solutions para partnersskadobayashi
 
awsomedaymodules14gettingstartedwithaws161013161135convertedpptx__2022_01_10_...
awsomedaymodules14gettingstartedwithaws161013161135convertedpptx__2022_01_10_...awsomedaymodules14gettingstartedwithaws161013161135convertedpptx__2022_01_10_...
awsomedaymodules14gettingstartedwithaws161013161135convertedpptx__2022_01_10_...himanipatel524244
 
Lessons learned: Use of Modern JVM Languages besides Java - JavaOne 2012
Lessons learned: Use of Modern JVM Languages besides Java - JavaOne 2012Lessons learned: Use of Modern JVM Languages besides Java - JavaOne 2012
Lessons learned: Use of Modern JVM Languages besides Java - JavaOne 2012Kai Wähner
 
De 03 Introduction To V Cloud Api V1
De 03 Introduction To V Cloud Api V1De 03 Introduction To V Cloud Api V1
De 03 Introduction To V Cloud Api V1ikewu83
 
Microsoft Azure Cloud Basics Tutorial
Microsoft Azure Cloud Basics TutorialMicrosoft Azure Cloud Basics Tutorial
Microsoft Azure Cloud Basics TutorialIIMSE Edu
 
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
 

Was ist angesagt? (20)

Microsoft PaaS Cloud Windows Azure Platform
Microsoft PaaS Cloud Windows Azure PlatformMicrosoft PaaS Cloud Windows Azure Platform
Microsoft PaaS Cloud Windows Azure Platform
 
NIC 2013 - Configure and Deploy Private Cloud
NIC 2013 - Configure and Deploy Private CloudNIC 2013 - Configure and Deploy Private Cloud
NIC 2013 - Configure and Deploy Private Cloud
 
Oracle Public Cloud: Oracle Java Cloud Service, by Nino Guarnacci
Oracle Public Cloud: Oracle Java Cloud Service, by Nino GuarnacciOracle Public Cloud: Oracle Java Cloud Service, by Nino Guarnacci
Oracle Public Cloud: Oracle Java Cloud Service, by Nino Guarnacci
 
High Value Cloud Services
High Value Cloud ServicesHigh Value Cloud Services
High Value Cloud Services
 
Windows Azure For Architects
Windows Azure For ArchitectsWindows Azure For Architects
Windows Azure For Architects
 
9 dani künzli citrix cloud solution 2
9 dani künzli citrix cloud solution 29 dani künzli citrix cloud solution 2
9 dani künzli citrix cloud solution 2
 
Paving the Way to IT-as-a-Service
Paving the Way to IT-as-a-ServicePaving the Way to IT-as-a-Service
Paving the Way to IT-as-a-Service
 
MED203 Scalable Media Processing - AWS re: Invent 2012
MED203 Scalable Media Processing - AWS re: Invent 2012MED203 Scalable Media Processing - AWS re: Invent 2012
MED203 Scalable Media Processing - AWS re: Invent 2012
 
Public clouds go mainstream - october 19 - 10m
Public clouds go mainstream - october 19 - 10mPublic clouds go mainstream - october 19 - 10m
Public clouds go mainstream - october 19 - 10m
 
CLD306 pptx en web
CLD306   pptx en webCLD306   pptx en web
CLD306 pptx en web
 
MED303 Addressing Security in Media Workflows - AWS re: Invent 2012
MED303 Addressing Security in Media Workflows - AWS re: Invent 2012MED303 Addressing Security in Media Workflows - AWS re: Invent 2012
MED303 Addressing Security in Media Workflows - AWS re: Invent 2012
 
ASAP Session 3
ASAP Session 3ASAP Session 3
ASAP Session 3
 
Microsoft Best Practices - AWS India Summit 2012
Microsoft Best Practices - AWS India Summit 2012Microsoft Best Practices - AWS India Summit 2012
Microsoft Best Practices - AWS India Summit 2012
 
Cloud Computing & Windows Azure
Cloud Computing & Windows AzureCloud Computing & Windows Azure
Cloud Computing & Windows Azure
 
Azure vmware solutions para partners
Azure vmware solutions para partnersAzure vmware solutions para partners
Azure vmware solutions para partners
 
awsomedaymodules14gettingstartedwithaws161013161135convertedpptx__2022_01_10_...
awsomedaymodules14gettingstartedwithaws161013161135convertedpptx__2022_01_10_...awsomedaymodules14gettingstartedwithaws161013161135convertedpptx__2022_01_10_...
awsomedaymodules14gettingstartedwithaws161013161135convertedpptx__2022_01_10_...
 
Lessons learned: Use of Modern JVM Languages besides Java - JavaOne 2012
Lessons learned: Use of Modern JVM Languages besides Java - JavaOne 2012Lessons learned: Use of Modern JVM Languages besides Java - JavaOne 2012
Lessons learned: Use of Modern JVM Languages besides Java - JavaOne 2012
 
De 03 Introduction To V Cloud Api V1
De 03 Introduction To V Cloud Api V1De 03 Introduction To V Cloud Api V1
De 03 Introduction To V Cloud Api V1
 
Microsoft Azure Cloud Basics Tutorial
Microsoft Azure Cloud Basics TutorialMicrosoft Azure Cloud Basics Tutorial
Microsoft Azure Cloud Basics Tutorial
 
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...
 

Ähnlich wie .NetCampus Windows Azure Mobile

Windows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect PartnerWindows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect PartnerMichael Collier
 
20141021 AWS Cloud Taekwon - Startup Best Practices on AWS
20141021 AWS Cloud Taekwon - Startup Best Practices on AWS20141021 AWS Cloud Taekwon - Startup Best Practices on AWS
20141021 AWS Cloud Taekwon - Startup Best Practices on AWSAmazon Web Services Korea
 
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?João Pedro Martins
 
Application Services On The Web Sales Forcecom
Application Services On The Web Sales ForcecomApplication Services On The Web Sales Forcecom
Application Services On The Web Sales ForcecomQConLondon2008
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud ComputingNAILBITER
 
SQLUG event: An evening in the cloud: the old, the new and the big
 SQLUG event: An evening in the cloud: the old, the new and the big  SQLUG event: An evening in the cloud: the old, the new and the big
SQLUG event: An evening in the cloud: the old, the new and the big Mike Martin
 
Architecting non-trivial browser applications (Jazoon 2012)
Architecting non-trivial browser applications (Jazoon 2012)Architecting non-trivial browser applications (Jazoon 2012)
Architecting non-trivial browser applications (Jazoon 2012)Marc Bächinger
 
Building Cloud-Based Cross-Platform Mobile Web Apps
Building Cloud-Based Cross-Platform Mobile Web AppsBuilding Cloud-Based Cross-Platform Mobile Web Apps
Building Cloud-Based Cross-Platform Mobile Web AppsJames Pearce
 
Cross platform mobile backend with mobile services
Cross platform mobile backend with mobile servicesCross platform mobile backend with mobile services
Cross platform mobile backend with mobile servicesJames Quick
 
6. DISZ - Webalkalmazások skálázhatósága a Google Cloud Platformon
6. DISZ - Webalkalmazások skálázhatósága  a Google Cloud Platformon6. DISZ - Webalkalmazások skálázhatósága  a Google Cloud Platformon
6. DISZ - Webalkalmazások skálázhatósága a Google Cloud PlatformonMárton Kodok
 
Java Web Programming on Google Cloud Platform [1/3] : Google App Engine
Java Web Programming on Google Cloud Platform [1/3] : Google App EngineJava Web Programming on Google Cloud Platform [1/3] : Google App Engine
Java Web Programming on Google Cloud Platform [1/3] : Google App EngineIMC Institute
 
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...tdc-globalcode
 
Pune microsoft azure developers 2nd meetup
Pune microsoft azure developers 2nd meetupPune microsoft azure developers 2nd meetup
Pune microsoft azure developers 2nd meetupratneshsinghparihar
 
AWS Cloud Kata 2014 | Jakarta - Startup Best Practices
AWS Cloud Kata 2014 | Jakarta - Startup Best PracticesAWS Cloud Kata 2014 | Jakarta - Startup Best Practices
AWS Cloud Kata 2014 | Jakarta - Startup Best PracticesAmazon Web Services
 
Dave Carroll Application Services Salesforce
Dave Carroll Application Services SalesforceDave Carroll Application Services Salesforce
Dave Carroll Application Services Salesforcedeimos
 
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015Amazon Web Services Korea
 
Building a chat app with windows azure mobile
Building a chat app with windows azure mobileBuilding a chat app with windows azure mobile
Building a chat app with windows azure mobileFlavius-Radu Demian
 
An Introduction to Sencha Touch
An Introduction to Sencha TouchAn Introduction to Sencha Touch
An Introduction to Sencha TouchJames Pearce
 

Ähnlich wie .NetCampus Windows Azure Mobile (20)

Windows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect PartnerWindows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect Partner
 
20141021 AWS Cloud Taekwon - Startup Best Practices on AWS
20141021 AWS Cloud Taekwon - Startup Best Practices on AWS20141021 AWS Cloud Taekwon - Startup Best Practices on AWS
20141021 AWS Cloud Taekwon - Startup Best Practices on AWS
 
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
 
Application Services On The Web Sales Forcecom
Application Services On The Web Sales ForcecomApplication Services On The Web Sales Forcecom
Application Services On The Web Sales Forcecom
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
SQLUG event: An evening in the cloud: the old, the new and the big
 SQLUG event: An evening in the cloud: the old, the new and the big  SQLUG event: An evening in the cloud: the old, the new and the big
SQLUG event: An evening in the cloud: the old, the new and the big
 
Architecting non-trivial browser applications (Jazoon 2012)
Architecting non-trivial browser applications (Jazoon 2012)Architecting non-trivial browser applications (Jazoon 2012)
Architecting non-trivial browser applications (Jazoon 2012)
 
Building Cloud-Based Cross-Platform Mobile Web Apps
Building Cloud-Based Cross-Platform Mobile Web AppsBuilding Cloud-Based Cross-Platform Mobile Web Apps
Building Cloud-Based Cross-Platform Mobile Web Apps
 
Cross platform mobile backend with mobile services
Cross platform mobile backend with mobile servicesCross platform mobile backend with mobile services
Cross platform mobile backend with mobile services
 
6. DISZ - Webalkalmazások skálázhatósága a Google Cloud Platformon
6. DISZ - Webalkalmazások skálázhatósága  a Google Cloud Platformon6. DISZ - Webalkalmazások skálázhatósága  a Google Cloud Platformon
6. DISZ - Webalkalmazások skálázhatósága a Google Cloud Platformon
 
Java Web Programming on Google Cloud Platform [1/3] : Google App Engine
Java Web Programming on Google Cloud Platform [1/3] : Google App EngineJava Web Programming on Google Cloud Platform [1/3] : Google App Engine
Java Web Programming on Google Cloud Platform [1/3] : Google App Engine
 
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
 
Pune microsoft azure developers 2nd meetup
Pune microsoft azure developers 2nd meetupPune microsoft azure developers 2nd meetup
Pune microsoft azure developers 2nd meetup
 
RavenDB overview
RavenDB overviewRavenDB overview
RavenDB overview
 
AWS Cloud Kata 2014 | Jakarta - Startup Best Practices
AWS Cloud Kata 2014 | Jakarta - Startup Best PracticesAWS Cloud Kata 2014 | Jakarta - Startup Best Practices
AWS Cloud Kata 2014 | Jakarta - Startup Best Practices
 
Dave Carroll Application Services Salesforce
Dave Carroll Application Services SalesforceDave Carroll Application Services Salesforce
Dave Carroll Application Services Salesforce
 
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
 
Building a chat app with windows azure mobile
Building a chat app with windows azure mobileBuilding a chat app with windows azure mobile
Building a chat app with windows azure mobile
 
An Introduction to Sencha Touch
An Introduction to Sencha TouchAn Introduction to Sencha Touch
An Introduction to Sencha Touch
 
Cloud enable your Windows Store Apps with Mobile Services
Cloud enable your Windows Store Apps with Mobile ServicesCloud enable your Windows Store Apps with Mobile Services
Cloud enable your Windows Store Apps with Mobile Services
 

Mehr von antimo musone

Multi Cloud essentials
Multi Cloud essentialsMulti Cloud essentials
Multi Cloud essentialsantimo musone
 
Tech meetup Data Driven - Codemotion
Tech meetup Data Driven - Codemotion Tech meetup Data Driven - Codemotion
Tech meetup Data Driven - Codemotion antimo musone
 
Azure Machine Learning Dotnet Campus 2015
Azure Machine Learning Dotnet Campus 2015 Azure Machine Learning Dotnet Campus 2015
Azure Machine Learning Dotnet Campus 2015 antimo musone
 
Cloud Computing - Albicocca University of Milan
Cloud Computing - Albicocca University of MilanCloud Computing - Albicocca University of Milan
Cloud Computing - Albicocca University of Milanantimo musone
 
Web Cloud Computing SQL Server - Ferrara University
Web Cloud Computing SQL Server  -  Ferrara UniversityWeb Cloud Computing SQL Server  -  Ferrara University
Web Cloud Computing SQL Server - Ferrara Universityantimo musone
 
.netcampus 2014 - E Commerce On Cloud
.netcampus 2014 - E Commerce On Cloud.netcampus 2014 - E Commerce On Cloud
.netcampus 2014 - E Commerce On Cloudantimo musone
 
Microsoft Accademic Tour Web and Cloud Service Bologna
Microsoft Accademic Tour Web and Cloud Service BolognaMicrosoft Accademic Tour Web and Cloud Service Bologna
Microsoft Accademic Tour Web and Cloud Service Bolognaantimo musone
 
Antimo Musone Graduation Thesis
Antimo Musone Graduation ThesisAntimo Musone Graduation Thesis
Antimo Musone Graduation Thesisantimo musone
 
Microsoft Accademic Cloud Tour Genova
Microsoft Accademic Cloud Tour GenovaMicrosoft Accademic Cloud Tour Genova
Microsoft Accademic Cloud Tour Genovaantimo musone
 

Mehr von antimo musone (12)

Multi Cloud essentials
Multi Cloud essentialsMulti Cloud essentials
Multi Cloud essentials
 
Intelligent ChatBot
Intelligent ChatBotIntelligent ChatBot
Intelligent ChatBot
 
Amazon Echo
Amazon EchoAmazon Echo
Amazon Echo
 
AI Machine vs Human
AI Machine vs HumanAI Machine vs Human
AI Machine vs Human
 
Tech meetup Data Driven - Codemotion
Tech meetup Data Driven - Codemotion Tech meetup Data Driven - Codemotion
Tech meetup Data Driven - Codemotion
 
Azure Machine Learning Dotnet Campus 2015
Azure Machine Learning Dotnet Campus 2015 Azure Machine Learning Dotnet Campus 2015
Azure Machine Learning Dotnet Campus 2015
 
Cloud Computing - Albicocca University of Milan
Cloud Computing - Albicocca University of MilanCloud Computing - Albicocca University of Milan
Cloud Computing - Albicocca University of Milan
 
Web Cloud Computing SQL Server - Ferrara University
Web Cloud Computing SQL Server  -  Ferrara UniversityWeb Cloud Computing SQL Server  -  Ferrara University
Web Cloud Computing SQL Server - Ferrara University
 
.netcampus 2014 - E Commerce On Cloud
.netcampus 2014 - E Commerce On Cloud.netcampus 2014 - E Commerce On Cloud
.netcampus 2014 - E Commerce On Cloud
 
Microsoft Accademic Tour Web and Cloud Service Bologna
Microsoft Accademic Tour Web and Cloud Service BolognaMicrosoft Accademic Tour Web and Cloud Service Bologna
Microsoft Accademic Tour Web and Cloud Service Bologna
 
Antimo Musone Graduation Thesis
Antimo Musone Graduation ThesisAntimo Musone Graduation Thesis
Antimo Musone Graduation Thesis
 
Microsoft Accademic Cloud Tour Genova
Microsoft Accademic Cloud Tour GenovaMicrosoft Accademic Cloud Tour Genova
Microsoft Accademic Cloud Tour Genova
 

Kürzlich hochgeladen

Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 

Kürzlich hochgeladen (20)

Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

.NetCampus Windows Azure Mobile

  • 1. The Magic Box – Windows Azure Mobile Antimo Musone antimo.musone@hotmail.com www.antimomusone.com Template designed by
  • 3. chi siamo / chi sono Technical Architect for Avanade Microsoft Student Partner Co-Founder of 5 th Element Project http://www.fifthelementproject.com http://antimomusone.com
  • 5. Cloud Computing What is the cloud? An approach to computing that’s about internet scale and connecting to a variety of devices and endpoints
  • 6. Cloud Computing Types IaaS Infrastructure- PaaS Platform-as-a- SaaS Software-as-a- StaS Storage-as-a- NaaS Network-as-a- as-a-Service Service Service Service Service
  • 7. Windows Azure Windows Azure Comprehensive set of services that enable you to quickly build, deploy and manage applications across a global network of Microsoft-managed datacenters
  • 8. Device + Cloud Three Reasons for Device + Cloud 1 Allows new application scenarios 2 The cloud levels the playing field The cloud provides a way to reach across device 3 platforms and a larger pool of resources from which to pull
  • 10. Scenario OCR App Any pictures? SAS Process Image Windows Azure Translated Text Authenticate Token Access Token Job Completed Access Shared Access Send Image Signature Translated Text Translated Text Hawaii OCR & Bing Translator
  • 11. The Magic Box Azure Mobile Features
  • 13. Technology Interoperability Features OData OAUTH Http Rest Interface JSON
  • 15. Storage Technology REST API Interface Features https://<service>. azuremobile.net/tables /<tabl e_name> OData Protocol HTTP METHOD GET, POST, PATCH, DELETE Request & Response Body use JSON
  • 16. Authorization Level Authorization Header Request X-ZUMO-{ APPLICATION | AUTH | MASTER X-ZUMO- Header for different authorization Everyone None Anybody with the X-ZUMO-APPLICATION application key Only Authenticated X-ZUMO-AUTH Users Only Scripts and Admins X-ZUMO-MASTER
  • 17. Storage Architecture SQL Azure Database Infrastructure Features Manage your way (portal, REST API, SSMS, etc.) Partition applications by schema in DB Dynamic Schema Support (on/off) Reporting, TSQL support, existing tools, etc.
  • 18. Example of Request Data Storage – Example for Todo List Service oRequest HTTP Method : GET https://todolist.azuremobile.net/tables/TodoItem?$filter=(complete%20eq%20false) Header : Accept: application/json X-ZUMO-APPLICATION: UzMAOXRlJdZyqibeUqCMoZZMrUXIRs92 Host: todolist.azure-mobile.net o Response HTTP/1.1 200 OK [{"id":1,"text":"Sign-up for the free trial","complete":false}, {"id":2,"text":"Create the mobile service","complete":false }, {"id":3,"text":"Complete the quickstart","complete":false}]
  • 21. Node.js Node's goal is to provide an easy way to build scalable network programs Mono –Thread Networking Event-Driven Google's V8 JavaScript engine Server-side JavaScript application No dead-locking Improvement of memory management
  • 22. Node.js Windows Azure offer a SDK to develop and build web application with Node.js hosted in the cloud Example of server var http = require("http"); application function onRequest(request, response) { File javascript Server.js -> console.log("Richiesta ricevuta dal server"); response.writeHead(200, {"Content-Type":"text/plain"}); response.write("Richiesta ricevuta"); response.end(); } http.createServer(onRequest).listen(8080); console.log("Server avviato");
  • 23. Azure Mobile Business Logic Architecture Intercept CRUD operations and apply your logic with JavaScript scripts node.js Scripting function(item, user, request) { DB ….. } User authentication Dynamic schematization
  • 24. Business Logic Business Logic – Node.js Kn o w n ob je cts an d mo d ule s o azure o sendgrid o console o mssql o push o statusCodes o table o request o crypto o util var SendGrid = require('sendgrid').SendGrid; var sendgrid = new SendGrid(‘<account>', ‘<password>'); sendgrid.send({ to: userItem.EmailAddress, from: 'notifications@mytodoitem.azure-mobile.net', subject: 'New ToDoItem Added!!', text: 'A new MyToDoItem was added: ' + item.text}, function(success, message) { // If the email failed to send, log it as an error. if (!success) { console.error('SendGrid Error! ' + message); } });
  • 27. Authentication Different Providers Accounts : Microsoft, Facebook, Twitter, Google. OAuth 2.0 to consume your data
  • 28. Authentication - Rules Set Level of Authorization Table level authorization for CRUD operations Everyone any request by anyone is accepted Anybody with the application key app key distributed w/ the app (default Only Authenticated Users users authenticated by Live Connect Only Scripts and Admins registered scripts or requests via the master key Your application can add whatever other authorization is needed.
  • 29. Authentication - Scripts Server script to match against your table (role-based access, specific user, etc.)
  • 31. Push Notifications - Architecture Push Notification – How ? (2) (1) (3) (3)
  • 32. Push Notifications - How Push Notification – Logic Register your push notification on mobile service WNS client secret and package SID for Windows API KEY for Android Certificate for IOS Ability to send Tile, Toast, Badge, and Raw notifications. Push logic Node.js module to create push notifications
  • 36. Scale Don’t forget , it’s cloud !
  • 38. Get Started http://www.windowsazure.com Services -> 750 ore al mese di istanze di calcolo piccole Web -> 10 siti Web Mobile Service ->10 servizi mobili RDBS ->1 database SQL Report SQL ->100 ore al mese Storage -> 70 GB con 50.000.000 transazioni di archiviazione Trasferimenti di dati ->senza limiti in ingresso e 25 GB in uscita Multimedial Services -> 50 GB (input e output combinati) CDN -> 20 GB in uscita con 500.000 transazioni Cache -> 128 MB
  • 39. Grazie :-) Per contattarmi antimo.musone@student-partners.com antimo.musone@avanade.com

Hinweis der Redaktion

  1. X-ZUMO-APPLICATION – The application key of the mobile service. X-ZUMO-AUTH - T he service-generated authentication token for an authenticated user. You must specify a token for an authenticated user when required to access the table operation. X-ZUMO-MASTER - The service master key.  OData does this by applying and building upon Web technologies such as HTTP , Atom Publishing Protocol (AtomPub) and JSON to provide access to information from a variety of applications, services, and stores
  2. X-ZUMO-APPLICATION – The application key of the mobile service. X-ZUMO-AUTH - T he service-generated authentication token for an authenticated user. You must specify a token for an authenticated user when required to access the table operation. X-ZUMO-MASTER - The service master key.  OData does this by applying and building upon Web technologies such as HTTP , Atom Publishing Protocol (AtomPub) and JSON to provide access to information from a variety of applications, services, and stores
  3. X-ZUMO-APPLICATION – The application key of the mobile service. X-ZUMO-AUTH - T he service-generated authentication token for an authenticated user. You must specify a token for an authenticated user when required to access the table operation. X-ZUMO-MASTER - The service master key.  OData does this by applying and building upon Web technologies such as HTTP , Atom Publishing Protocol (AtomPub) and JSON to provide access to information from a variety of applications, services, and stores
  4. Node.js  is a  software system  designed for writing  scalable  Internet applications, notably  web servers . [1]  Programs are written in  JavaScript , using event-driven,asynchronous I/O to minimize overhead and maximize scalability. La natura event-driven di  Node.js  si manifesta nella gestione delle operazioni concorrenti: nei Web server tradizionali come Apache utilizziamo ad esempio un thread per elaborare ogni richiesta, mentre Node.js genera un nuovo evento che finirà in un unico processo, un &quot;loop&quot; che gestirà a suo tempo l&apos;evento stesso eseguendo le relative funzioni di callback. Il altre parole le funzioni più comuni di un server Web sono svolte da moduli diversi e gestite con eventi di input/output. Una scelta particolarmente azzeccata visto che un server web trascorre maggior parte del tempo ad attendere l&apos;esito di operazioni di input/output, dunque la possibilità di lavorare in modo asincrono tramite funzioni di  callback
  5. Node.js  is a software system designed for writing scalable Internet applications, notably web servers. [1]  Programs are written in JavaScript, using event-driven,asynchronous I/O to minimize overhead and maximize scalability. La natura event-driven di  Node.js  si manifesta nella gestione delle operazioni concorrenti: nei Web server tradizionali come Apache utilizziamo ad esempio un thread per elaborare ogni richiesta, mentre Node.js genera un nuovo evento che finirà in un unico processo, un &quot;loop&quot; che gestirà a suo tempo l&apos;evento stesso eseguendo le relative funzioni di callback. Il altre parole le funzioni più comuni di un server Web sono svolte da moduli diversi e gestite con eventi di input/output. Una scelta particolarmente azzeccata visto che un server web trascorre maggior parte del tempo ad attendere l&apos;esito di operazioni di input/output, dunque la possibilità di lavorare in modo asincrono tramite funzioni di  callback
  6. An open protocol to allow secure authorization in a simple and standard method from web, mobile and desktop applications. If you&apos;re storing protected data on your users&apos; behalf, they shouldn&apos;t be spreading their passwords around the web to get access to it. Use OAuth to give your users access to their data while protecting their account credentials. Service use Oauth to access your data without your credentials.