SlideShare une entreprise Scribd logo
1  sur  23
Cloud enable your Windows Store
Apps with Mobile Services

Nick Harris | @cloudnick | www.nickharris.net
Kristof Rennen | @kristofrennen
Senior Technical Evangelist
Microsoft Corporation
Author script that executes in the CRUD op pipleline
Supported Modules + Globals
    request            mssql.query('select top 1 * from
    console            statusupdates', { success: function(results) {
    push.*                                     console.log(results);
    tables                        }
                             }
    mssql
                       );
    statusCodes
    Windows Azure Node SDK
    Windows Azure Store Partners (Pusher, Sendgrid, Twilio)
Diagnostics   Scale - Compute


              Scale - Storage
Logging
Architecture
                                         Favorites




                         (3 Instances)

                   (Microsoft Account)               (1GB Web)




                                                                 Windows 8
      Windows                                                    XAML + C#
                                                                   MVVM
      Phone 7/8
                                                                 WAMS SDK
       XAML + C#
        Live SDK
          REST


                                          Filters
Get a Windows Azure Free Trial Account
http://www.windowsazure.com/

Learn more & try tutorials
                               http://www.windowsazure.com/mobile

Help with Mobile Services
              Windows Azure Mobile Services Forum
              Windows Azure Mobile Services UserVoice
              mobileservices@microsoft.com
              @cloudnick                                @chrisrisner

Presentations, demos, hands on labs
                          Download here
Cloud enable your Windows Store Apps with Mobile Services
Cloud enable your Windows Store Apps with Mobile Services

Contenu connexe

Similaire à Cloud enable your Windows Store Apps with Mobile Services

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
Michael Collier
 
Microsoft Azure : Hey ITPRo's Meet Azure .. .again!
Microsoft Azure : Hey ITPRo's Meet Azure .. .again!Microsoft Azure : Hey ITPRo's Meet Azure .. .again!
Microsoft Azure : Hey ITPRo's Meet Azure .. .again!
Mike Martin
 

Similaire à Cloud enable your Windows Store Apps with Mobile Services (20)

Windows azure overview for SharePoint Pros
Windows azure overview for SharePoint Pros Windows azure overview for SharePoint Pros
Windows azure overview for SharePoint Pros
 
WinOps meetup April 2016 DevOps lessons from Microsoft \\Build\
WinOps meetup April 2016   DevOps lessons from Microsoft \\Build\WinOps meetup April 2016   DevOps lessons from Microsoft \\Build\
WinOps meetup April 2016 DevOps lessons from Microsoft \\Build\
 
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
 
Microsoft Partner Roadshow - To the Cloud
Microsoft Partner Roadshow  - To the CloudMicrosoft Partner Roadshow  - To the Cloud
Microsoft Partner Roadshow - To the Cloud
 
Windows azure mobile services from start to rest
Windows azure mobile services from start to restWindows azure mobile services from start to rest
Windows azure mobile services from start to rest
 
20170209 dev day-websites_vs_cloudservices_vsservicefabric_scenarios
20170209 dev day-websites_vs_cloudservices_vsservicefabric_scenarios20170209 dev day-websites_vs_cloudservices_vsservicefabric_scenarios
20170209 dev day-websites_vs_cloudservices_vsservicefabric_scenarios
 
Device+Cloud: come sviluppare App moderne ed interconnesse
Device+Cloud: come sviluppare App moderne ed interconnesseDevice+Cloud: come sviluppare App moderne ed interconnesse
Device+Cloud: come sviluppare App moderne ed interconnesse
 
Capture the Cloud with Azure
Capture the Cloud with AzureCapture the Cloud with Azure
Capture the Cloud with Azure
 
GigaSpaces CCF 4 Xap
GigaSpaces CCF 4 XapGigaSpaces CCF 4 Xap
GigaSpaces CCF 4 Xap
 
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
 
Sp.pptx
Sp.pptxSp.pptx
Sp.pptx
 
Cloud Powered Mobile Apps with Azure
Cloud Powered Mobile Apps with AzureCloud Powered Mobile Apps with Azure
Cloud Powered Mobile Apps with Azure
 
Vijay Oscon
Vijay OsconVijay Oscon
Vijay Oscon
 
20171024 文化大學 1 azure big data ai
20171024 文化大學 1 azure big data ai20171024 文化大學 1 azure big data ai
20171024 文化大學 1 azure big data ai
 
Cloud for Game Developers – Myth or Real Scenarios?
Cloud for Game Developers – Myth or Real Scenarios?Cloud for Game Developers – Myth or Real Scenarios?
Cloud for Game Developers – Myth or Real Scenarios?
 
XenMobile: Enterprise mobility management solution
XenMobile: Enterprise mobility management solutionXenMobile: Enterprise mobility management solution
XenMobile: Enterprise mobility management solution
 
Pune microsoft azure developers 2nd meetup
Pune microsoft azure developers 2nd meetupPune microsoft azure developers 2nd meetup
Pune microsoft azure developers 2nd meetup
 
Microsoft Azure : Hey ITPRo's Meet Azure .. .again!
Microsoft Azure : Hey ITPRo's Meet Azure .. .again!Microsoft Azure : Hey ITPRo's Meet Azure .. .again!
Microsoft Azure : Hey ITPRo's Meet Azure .. .again!
 
azure track -03- it pros meet azure - again
azure track -03- it pros meet azure - againazure track -03- it pros meet azure - again
azure track -03- it pros meet azure - again
 
Migrating Apps To Azure
Migrating Apps To AzureMigrating Apps To Azure
Migrating Apps To Azure
 

Plus de Microsoft Developer Network (MSDN) - Belgium and Luxembourg

Plus de Microsoft Developer Network (MSDN) - Belgium and Luxembourg (20)

Code in the Cloud - Ghent - 20 February 2015
Code in the Cloud - Ghent - 20 February 2015Code in the Cloud - Ghent - 20 February 2015
Code in the Cloud - Ghent - 20 February 2015
 
Executive Summit for ISV & Application builders - January 2015
Executive Summit for ISV & Application builders - January 2015Executive Summit for ISV & Application builders - January 2015
Executive Summit for ISV & Application builders - January 2015
 
Executive Summit for ISV & Application builders - Internet of Things
Executive Summit for ISV & Application builders - Internet of ThingsExecutive Summit for ISV & Application builders - Internet of Things
Executive Summit for ISV & Application builders - Internet of Things
 
Executive Summit for ISV & Application builders - January 2015
Executive Summit for ISV & Application builders - January 2015Executive Summit for ISV & Application builders - January 2015
Executive Summit for ISV & Application builders - January 2015
 
Code in the Cloud - December 8th 2014
Code in the Cloud - December 8th 2014Code in the Cloud - December 8th 2014
Code in the Cloud - December 8th 2014
 
Adam azure presentation
Adam   azure presentationAdam   azure presentation
Adam azure presentation
 
release management
release managementrelease management
release management
 
cloud value for application development
cloud value for application developmentcloud value for application development
cloud value for application development
 
Modern lifecycle management practices
Modern lifecycle management practicesModern lifecycle management practices
Modern lifecycle management practices
 
Belgian visual studio launch 2013
Belgian visual studio launch 2013Belgian visual studio launch 2013
Belgian visual studio launch 2013
 
Inside the Microsoft TechDays Belgium Apps
Inside the Microsoft TechDays Belgium AppsInside the Microsoft TechDays Belgium Apps
Inside the Microsoft TechDays Belgium Apps
 
TechDays 2013 Developer Keynote
TechDays 2013 Developer KeynoteTechDays 2013 Developer Keynote
TechDays 2013 Developer Keynote
 
Windows Phone 8 Security Deep Dive
Windows Phone 8 Security Deep DiveWindows Phone 8 Security Deep Dive
Windows Phone 8 Security Deep Dive
 
Deep Dive into Entity Framework 6.0
Deep Dive into Entity Framework 6.0Deep Dive into Entity Framework 6.0
Deep Dive into Entity Framework 6.0
 
Applied MVVM in Windows 8 apps: not your typical MVVM session!
Applied MVVM in Windows 8 apps: not your typical MVVM session!Applied MVVM in Windows 8 apps: not your typical MVVM session!
Applied MVVM in Windows 8 apps: not your typical MVVM session!
 
Building SPA’s (Single Page App) with Backbone.js
Building SPA’s (Single Page App) with Backbone.jsBuilding SPA’s (Single Page App) with Backbone.js
Building SPA’s (Single Page App) with Backbone.js
 
Deep Dive and Best Practices for Windows Azure Storage Services
Deep Dive and Best Practices for Windows Azure Storage ServicesDeep Dive and Best Practices for Windows Azure Storage Services
Deep Dive and Best Practices for Windows Azure Storage Services
 
Building data centric applications for web, desktop and mobile with Entity Fr...
Building data centric applications for web, desktop and mobile with Entity Fr...Building data centric applications for web, desktop and mobile with Entity Fr...
Building data centric applications for web, desktop and mobile with Entity Fr...
 
Bart De Smet Unplugged
Bart De Smet UnpluggedBart De Smet Unplugged
Bart De Smet Unplugged
 
Putting the Microsoft Design Language to work
Putting the Microsoft Design Language to workPutting the Microsoft Design Language to work
Putting the Microsoft Design Language to work
 

Cloud enable your Windows Store Apps with Mobile Services

  • 1. Cloud enable your Windows Store Apps with Mobile Services Nick Harris | @cloudnick | www.nickharris.net Kristof Rennen | @kristofrennen Senior Technical Evangelist Microsoft Corporation
  • 2.
  • 3.
  • 4.
  • 5.
  • 6. Author script that executes in the CRUD op pipleline Supported Modules + Globals request mssql.query('select top 1 * from console statusupdates', { success: function(results) { push.* console.log(results); tables } } mssql ); statusCodes Windows Azure Node SDK Windows Azure Store Partners (Pusher, Sendgrid, Twilio)
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. Diagnostics Scale - Compute Scale - Storage Logging
  • 17.
  • 18.
  • 19. Architecture Favorites (3 Instances) (Microsoft Account) (1GB Web) Windows 8 Windows XAML + C# MVVM Phone 7/8 WAMS SDK XAML + C# Live SDK REST Filters
  • 20.
  • 21. Get a Windows Azure Free Trial Account http://www.windowsazure.com/ Learn more & try tutorials http://www.windowsazure.com/mobile Help with Mobile Services Windows Azure Mobile Services Forum Windows Azure Mobile Services UserVoice mobileservices@microsoft.com @cloudnick @chrisrisner Presentations, demos, hands on labs Download here

Notes de l'éditeur

  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: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:
  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. Notes:More Details here - http://www.windowsazure.com/en-us/pricing/details/#header-0 SLAWhile Mobile Services is in preview, it can be used with apps in production, if customers ask for SLA and support, both can be provided by the product team upon request as part of the early adopters program, contact zumosla@microsoft.com for details.
  20. Slide Objectives:Detail the free offer during Preview Speaking Points:10 FREE mobile services running on shared instances during Preview1 Mobile Service = 1 backend for an app. Each mobile service can utilize multiple features ie a mobile service for to do app can use user auth, multiple types of push, and structured storage and still count as one mobile service.Database100MB SQL DB is shared by all 10 mobile services. Note during creating of mobile service you can specify dedicated DB if you wish.Bandwidth Ingress unlimited FREEShared mode egress capped at 165MB/day FREE. Can upgrade to Reserved mode with excess egress billed starting at $0.12USD /GBNotes:Use pricing calculator link to show 1GB DB cost, then switch to reserved mode to show costsSLAWhile Mobile Services is in preview, it can be used with apps in production, if customers ask for SLA and support, both can be provided by the product team upon request as part of the early adopters program, contact mobileservices@microsoft.comfor details.
  21. A much higher tier of Free Mobile Services usage is available via Member Offers - http://www.windowsazure.com/en-us/pricing/member-offers/
  22. Notes:Capture audienceQ&A and feature requests here and send to mobileservices@microsoft.com