SlideShare uma empresa Scribd logo
1 de 20
Azure Mobile
Services
Juan Pablo García González
Technical Evangelist
jpgarcia@Microsoft.com
http://jpgarcia.cl
@liarjo
#WAPUCOLOMBIA
Windows Azure Mobile Services are ideal for:
Supported Modules + Globals
   mssql
                mssql.query('select top 1 * from
   request      statusupdates', { success: function(results) {
   console                              console.log(results);
                           }
   push.*             }
   tables       );
   statusCodes
JSON Value                 T-SQL Type
Numeric values (integer,   Float
decimal, floating point)
Boolean                    Bit
DateTime                   DateTimeOffset(3)
String                     Nvarchar(max)
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
Execute scripts on a Schedule
     by Minutes
     by Hours
     by Days
     By Months
Execute scripts on Demand
Examples
     Periodic purge of old data
     Poll and aggregate from 3rd party (Twitter, RSS, others)
     Process/resize images
     Schedule sending push notifications for a given time of day
Diagnostics   Scale - Compute


              Scale - Storage
Logging
Windows Azure Mobile Services
Windows Azure Mobile Services
Windows Azure Mobile Services

Mais conteúdo relacionado

Destaque

BizTalk Server, BizTalk Services and Windows Workflow Foundation (WF)
BizTalk Server, BizTalk Services and Windows Workflow Foundation (WF)BizTalk Server, BizTalk Services and Windows Workflow Foundation (WF)
BizTalk Server, BizTalk Services and Windows Workflow Foundation (WF)
Juan Pablo
 
Introducción soa
Introducción soaIntroducción soa
Introducción soa
Juan Pablo
 
Introduccion a la seguridad en Windows Azure
Introduccion a la seguridad en Windows AzureIntroduccion a la seguridad en Windows Azure
Introduccion a la seguridad en Windows Azure
Juan Pablo
 
Rol Arquitecto Software
Rol Arquitecto SoftwareRol Arquitecto Software
Rol Arquitecto Software
Juan Pablo
 
Qué hace un arquitecto de soluciones?
Qué hace un arquitecto de soluciones?Qué hace un arquitecto de soluciones?
Qué hace un arquitecto de soluciones?
Juan Pablo
 
Servicios de datos en la nube
Servicios de datos en la nubeServicios de datos en la nube
Servicios de datos en la nube
Juan Pablo
 

Destaque (16)

Using windows azure to develop secure and deploy cloud applications Santiago ...
Using windows azure to develop secure and deploy cloud applications Santiago ...Using windows azure to develop secure and deploy cloud applications Santiago ...
Using windows azure to develop secure and deploy cloud applications Santiago ...
 
BizTalk Server, BizTalk Services and Windows Workflow Foundation (WF)
BizTalk Server, BizTalk Services and Windows Workflow Foundation (WF)BizTalk Server, BizTalk Services and Windows Workflow Foundation (WF)
BizTalk Server, BizTalk Services and Windows Workflow Foundation (WF)
 
Alteryx and Power BI better together
Alteryx and Power BI  better togetherAlteryx and Power BI  better together
Alteryx and Power BI better together
 
Windows Azure VPN Workshop
Windows Azure VPN WorkshopWindows Azure VPN Workshop
Windows Azure VPN Workshop
 
The azure platform TechDay2010
The azure platform TechDay2010The azure platform TechDay2010
The azure platform TechDay2010
 
Introducción Windows Azure
Introducción Windows AzureIntroducción Windows Azure
Introducción Windows Azure
 
Cloud Computing y la nueva plataforma Windows Azure
Cloud Computing y la nueva plataforma Windows AzureCloud Computing y la nueva plataforma Windows Azure
Cloud Computing y la nueva plataforma Windows Azure
 
Nubes Privadas
Nubes PrivadasNubes Privadas
Nubes Privadas
 
¿Como Asegurar Nuestra Capa De Servicios De Negocios?
¿Como Asegurar Nuestra Capa De Servicios De Negocios?¿Como Asegurar Nuestra Capa De Servicios De Negocios?
¿Como Asegurar Nuestra Capa De Servicios De Negocios?
 
Introducción soa
Introducción soaIntroducción soa
Introducción soa
 
Introduccion a la seguridad en Windows Azure
Introduccion a la seguridad en Windows AzureIntroduccion a la seguridad en Windows Azure
Introduccion a la seguridad en Windows Azure
 
Rol Arquitecto Software
Rol Arquitecto SoftwareRol Arquitecto Software
Rol Arquitecto Software
 
Qué hace un arquitecto de soluciones?
Qué hace un arquitecto de soluciones?Qué hace un arquitecto de soluciones?
Qué hace un arquitecto de soluciones?
 
Windows Azure IaaS & vNet
Windows Azure IaaS & vNetWindows Azure IaaS & vNet
Windows Azure IaaS & vNet
 
Servicios de datos en la nube
Servicios de datos en la nubeServicios de datos en la nube
Servicios de datos en la nube
 
Exprimiendo SharePoint 2010
Exprimiendo SharePoint 2010Exprimiendo SharePoint 2010
Exprimiendo SharePoint 2010
 

Mais de Juan Pablo (8)

Azure Function Best Practice
Azure Function Best Practice Azure Function Best Practice
Azure Function Best Practice
 
Serverless Computing with Azure Functions Best Practices
Serverless Computing with Azure Functions Best PracticesServerless Computing with Azure Functions Best Practices
Serverless Computing with Azure Functions Best Practices
 
Serverless Solutions for developers
Serverless Solutions for developersServerless Solutions for developers
Serverless Solutions for developers
 
Iasa chile bylaws
Iasa chile bylawsIasa chile bylaws
Iasa chile bylaws
 
Firmas digitales
Firmas digitalesFirmas digitales
Firmas digitales
 
Modulo2 Arquitectura dotnet
Modulo2 Arquitectura dotnetModulo2 Arquitectura dotnet
Modulo2 Arquitectura dotnet
 
Msdn Workflow Services And Windows Server App Fabric
Msdn Workflow Services And Windows Server App FabricMsdn Workflow Services And Windows Server App Fabric
Msdn Workflow Services And Windows Server App Fabric
 
Managed Service Engine (MSE) Introducción
Managed Service Engine (MSE) IntroducciónManaged Service Engine (MSE) Introducción
Managed Service Engine (MSE) Introducción
 

Último

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
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

Windows Azure Mobile Services

  • 1. Azure Mobile Services Juan Pablo García González Technical Evangelist jpgarcia@Microsoft.com http://jpgarcia.cl @liarjo #WAPUCOLOMBIA
  • 2.
  • 3.
  • 4. Windows Azure Mobile Services are ideal for:
  • 5.
  • 6.
  • 7.
  • 8. Supported Modules + Globals mssql mssql.query('select top 1 * from request statusupdates', { success: function(results) { console console.log(results); } push.* } tables ); statusCodes
  • 9. JSON Value T-SQL Type Numeric values (integer, Float decimal, floating point) Boolean Bit DateTime DateTimeOffset(3) String Nvarchar(max)
  • 10.
  • 11.
  • 12.
  • 13. 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
  • 14.
  • 15. Execute scripts on a Schedule by Minutes by Hours by Days By Months Execute scripts on Demand Examples Periodic purge of old data Poll and aggregate from 3rd party (Twitter, RSS, others) Process/resize images Schedule sending push notifications for a given time of day
  • 16.
  • 17. Diagnostics Scale - Compute Scale - Storage Logging

Notas do Editor

  1. Slide Objectives:Provide broad overview of WA Mobile Services featuresSpeaking Points:WAMSBuild a cloud backend in minutes with no hassles, no deployments, no fearSupports Windows 8 client SDK, Windows Phone 8 SDK, iOS SDK Android coming soonDataStructured Storage with SQL DatabaseAutomatic service api generated for storageRich querying capabilityServer LogicAutomatic CRUD service api generatedAbility to author server logic that intercepts CRUD operation pipelineAuthAuthenticate against Windows LiveTable level authorization with no code More granular control with server side scriptsNotificationsIntegrates with WNS to provide Toast, Tile, Badge and Raw notificationsClean object model to compose notificationsSchedulerScheduler allows you to run Scripts to perform tasks at a scheduled basis minutes, hrly, daily, monthly or on demand.Example – aggregate News RSS feeds and send a tile update every 15 minutes Logging and Diagnostics for monitoringScale out and Scale up
  2. Slide Objectives:Outline the Key Scenarios Mobile Services can be used for
  3. Slide Objectives:Jump to VS and Demo the New Mobile Service Create a new Windows 8 application experience in the portal
  4. Slide Objectives:Detail the structured storage featureSpeaking Points:Structured storage provided by WAMS is backed by a Windows Azure SQL DatabaseDB can be Multi-tenant i.e 10 Mobile services can all use the one SQL Database. In this scenario each DB is partitioned by SchemaMultiple ways admins can access the raw data being stored.
  5. Slide Objectives:Detail the Server Logic capabilitySpeaking Points:On creating of a Mobile Service a dynamic REST API is generated that sits on top of your structured storageDynamic SchemaWhen Dynamic Schema is enabled, your Mobile Service will automatically add columns to tables as necessary to store incoming data.When Dynamic Schema is disabled, your Mobile Service will only accept data whose properties correspond to existing columns on your tables.
  6. Slide Objectives:Detail the Modules and Globals available to server side scripts.Speaking Points:Talk through the slidePush.* currently supports push notifications for W8 (push.wns), WP8 (push.mpns), iOS (push.apns), Android coming soonA subset of Node.js modules are also supportedPerforming SQL queries is something that some people are not aware of. Instead of tables if you want to use mssql you can execute sql directly. One useful example of this would be to execute a store procedureLatest full list here: http://msdn.microsoft.com/en-us/library/windowsazure/jj554226.aspx
  7. Slide Objectives:Detail the current REST API JSON value to T-SQL type mappingsSpeaking Points:Table shows the current JSON type mapping to T-SQL mapping used when columns are dynamically generated.As we iterate on mobile services you will see the list of type mappings grow
  8. Slide Objectives:Builds on the getting started application to Demonstrate how to add some simple server logic to an operation like the Insert operation. See example in video here http://go.microsoft.com/fwlink/?LinkID=267130&clcid=0x409
  9. Slide Objectives:Detail the push notification lifecycle to give context for the demo coming upWNS is freeSpeaking Points:Show the start screen and talk about how push notifications can be used to lightup the start screenGreen components are those FREE services Microsoft providesBlue components are those components that the application developer must write.Step 1 – using the WinRT API request a channel. A channel uniquely identifies an app and its tile.Step 2 – channel is then registered and stored in your Mobile serviceStep 3 – When your application specific logic determines that it is time to send a notification you can retrieve the channel and compose a notification to be sent. This is a two step process that first requires your service to auth against WNS and then compose and send a notification. Mobile Services makes this step incredibly easy.Step 3 - part 2 – WNS will take care of delivering the notification and the Notification client platform will deal with surfacing that notification for you and rendering the tile/toast/badge etc
  10. 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:
  11. Slide Objectives: Continue building out the Getting Started sample by adding Push Notifications to send a toast or tileNotes:Full demo script and snippets available in the links on slide 2.
  12. Slide Objectives:Detail Auth optionsSpeaking Points:Support for additional auth providers such as Facebook are coming soonWindows 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:
  13. Slide Objectives:Continue building out the Getting started application by adding auth.Notes:Demo script with full code snippets available in link on slide 2
  14. Slide Objectives:Detail Auth optionsSpeaking Points:Support for additional auth providers such as Facebook are coming soonWindows 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:
  15. Slide Objectives:Continue building out the Getting started Mobile Service adding a ScheduleNotes:Demo script with full code snippets available in link on slide 2
  16. Slide Objectives:Detail what Mobile Services provides as far as Diagnostics, Logging and Scale is concernedSpeaking Points: Note when moving a Mobile Service from a multi-tenant DB to its own. Currently data is not automatically migrated.
  17. Slide Objectives:Show diagnostics graphs provided by portalShow logging that has been performed by the sever side script snippetsShow scale out functionality. i.e move increase shared instances, then move to reserved mode.Speaking Points: when scaling out note speed with which your service is scaled out across multiple instances and/or from shared to reserved
  18. Slide Objectives:Provide broad overview of WA Mobile Services featuresSpeaking Points:WAMSBuild a cloud backend in minutes with no hassles, no deployments, no fearSupports Windows 8 client SDK, Windows Phone 8 SDK, iOS SDK Android coming soonDataStructured Storage with SQL DatabaseAutomatic service api generated for storageRich querying capabilityServer LogicAutomatic CRUD service api generatedAbility to author server logic that intercepts CRUD operation pipelineAuthAuthenticate against Windows LiveTable level authorization with no code More granular control with server side scriptsNotificationsIntegrates with WNS to provide Toast, Tile, Badge and Raw notificationsClean object model to compose notificationsSchedulerScheduler allows you to run Scripts to perform tasks at a scheduled basis minutes, hrly, daily, monthly or on demand.Example – aggregate News RSS feeds and send a tile update every 15 minutes Logging and Diagnostics for monitoringScale out and Scale up
  19. 15 min