Building Windows Store Apps with Windows Azure Mobile Services

Slides:



Advertisements
Similar presentations
Windows 8 (1) (2) (3) Windows 8 (1) (2) (3)
Advertisements

Building Windows Store Apps with Windows Azure Mobile Services Name Title Organization.
Attie Naude 14 May 2013 Windows Azure Mobile Services.
Power BI Sites and Mobile BI. What You Will Learn Sharing and Collaboration Introducing Power BI Exploring Power BI Features and Services Partner Opportunities.
Windows Azure Mobile Services. Data Push Notifications Auth Scheduler Diagnostics & Scale Agenda.
4/17/2017 7:07 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
| Basel Discovering Windows Azure Mobile Services and Media Services Ken Casada
Cross Platform Mobile Backend with Mobile Services James
Building Android Apps with Mobile Services Speaker Name Speaker Title Speaker Company Twitter:
Building Android Apps with Windows Azure Mobile Services Chris Risner Technical Evangelist Microsoft
Windows 8 (1) (2) (3) Windows 8 (1) (2) (3)
demo Cloud Storage WA Blobs Schema Management APIs & Portal Web Roles Integration Pipeline 3 rd Party Web Services 3 rd Party Store 3 rd Party.
Building Connected Android Apps with Azure Chris Risner Technical Evangelist
Building Windows Phone Apps with Mobile Services Speaker Name Speaker Title Speaker Company Twitter:
Building Connected Windows Store apps with Windows Azure Mobile Services Nick Harris Windows Azure Tech Evangelist Microsoft Corporation WCL217.
demo User Signs Up Temporary Account is Created with Verification Link Sent User Clicks Link Account is Activated Login.Register(userName,
Sage Franch | Technical Evangelist Susan Ibach | Technical Evangelist.
Building Windows Store Apps with Windows Azure Mobile Services Nikola Metulev Windows Platform Technical Evangelist.
11 | Managing User Info Jeremy Foster Michael Palermo
Сергей Байдачный Майкрософт Украина
1/27/2018 5:13 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
TechReady 16 5/10/2018 Day 2, Session 4 Reaching the Summit: ITIL-integrated Self-Service in the Hybrid Cloud © 2013 Microsoft Corporation. All rights.
PowerApps & Flow Licensing Overview for Partners
5/22/2018 1:39 AM BRK2156 Power BI Report Server: Self-service BI and enterprise reporting on-premises Christopher Finlan Senior Program Manager © Microsoft.
Azure Mobile Services + Windows Phone 8
S4 Solution Specialist Sales Summit
Mobile App Trends: lifecycle, functions, and cognitive
O365 & AZURE ADDS Mladen Baranek, Miadria
Microsoft Virtual Academy
Windows Azure Mobile Services
Modern application lifecycle with DevOps
Developing Hybrid Apps on Microsoft Azure Stack
Build /4/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Ignite /31/ :08 AM
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
Building Cross-Platform Apps with Windows Azure Mobile Services
Microsoft Intune MAM without Device Enrollment
Hybrid Apps: Azure Mobile Engagement and the App Economy
Build /21/2018 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Building Windows Phone Apps with Windows Azure Mobile Services
Power Apps & Flow for Microsoft Dynamics SL
11/14/ :30 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
TechEd /21/2018 5:20 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Building Windows Phone 7 Applications with the Windows Azure Platform
12/2/ :59 AM AZR214 Developing Connected Windows Store Apps with Windows Azure Mobile Service: Overview (200) Nick Harris Sr. Technical.
TechEd /4/2018 3:19 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
TechEd /6/2018 8:16 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Virtual Academy
TechEd /28/ :27 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Agenda OAuth Concepts Programming OAuth.
Microsoft Build /2/2019 6:45 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Virtual Academy
TechEd /11/ :21 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
TechEd /15/2019 8:08 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
1/16/2019 8:14 PM SAC-863T Delivering notifications with the Windows Push Notification Service and Windows Azure Darren Louie, Nick Harris Program Manager,
TechEd /18/ :01 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Office 365 Development.
Office 365 Development.
Building and running HPC apps in Windows Azure
Consumer Mobile Apps that Scale
Using tiles and notifications
Service Template Creation from the Ground Up
Service Template Creation from the Ground Up
Microsoft Virtual Academy
07 | Introduction to Authentication
Day 2, Session 2 Connecting System Center to the Public Cloud
Office 365 Development July 2014.
Sessions about to start – Get your rig on!
Erik Porter Program Manager ASP.NET Microsoft Corporation
Presentation transcript:

Building Windows Store Apps with Windows Azure Mobile Services Notes: You can see a recorded version of this deck here http://go.microsoft.com/fwlink/?LinkID=267130&clcid=0x409

What is Windows Azure Mobile Services? 8/3/2019 What is Windows Azure Mobile Services? Auth Server Logic Notifications Logging & Diag Slide Objectives: Provide broad overview of WA Mobile Services features Speaking Points: WAMS Build a cloud backend in minutes with no hassles, no deployments, no fear Supports Windows 8 client SDK, Windows Phone 8 SDK, iOS SDK Android coming soon Data Structured Storage with SQL Database Automatic service api generated for storage Rich querying capability Server Logic Automatic CRUD service api generated Ability to author server logic that intercepts CRUD operation pipeline Auth Authenticate against Windows Live Table level authorization with no code More granular control with server side scripts Notifications Integrates with WNS to provide Toast, Tile, Badge and Raw notifications Clean object model to compose notifications Scheduler Scheduler 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 monitoring Scale out and Scale up Data Scheduler Scale © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Key Scenarios Modern mobile apps Common Scenarios Rapid Development Windows Azure Mobile Services are ideal for: Modern mobile apps Windows Store Apps, Windows Phone, iOS, Android Common Scenarios Reduces the friction associated with repeating common tasks such as user authentication, push notifications and structured storage Slide Objectives: Outline the Key Scenarios Mobile Services can be used for Rapid Development Time is money. Get your app up and running sooner when you use Mobile Services to configure a straightforward and secure backend in less than five minutes.

Data

Data Dynamic scheme Connect to existing DB Manage data in Portal, SQL Management Studio Dynamic scheme Create credentials on each CRUD operation for each table Slide Objectives: Detail the structured storage feature Speaking Points: Structured storage provided by WAMS is backed by a Windows Azure SQL Database DB can be Multi-tenant i.e 10 Mobile services can all use the one SQL Database. In this scenario each DB is partitioned by Schema Multiple ways admins can access the raw data being stored.

Credentials Anyone with the Application Key Only Scripts and Admins Everyone Anyone with the Application Key Only Authenticated Users Only Scripts and Admins

Requirements for DB scheme Each table have field “id” Each field have to be lowercase Scheme have to be named as your mobile service name

Server Logic

Scripts Create custom validation Get user info Change the query to DB Change the response from mobile service Handle errors Send http request or push notification Slide Objectives: Detail the structured storage feature Speaking Points: Structured storage provided by WAMS is backed by a Windows Azure SQL Database DB can be Multi-tenant i.e 10 Mobile services can all use the one SQL Database. In this scenario each DB is partitioned by Schema Multiple ways admins can access the raw data being stored.

API Provides an http actions (get, post, put, patch, delete) Credentials at each action Don’t require install Azure SDK Don’t require a new table Slide Objectives: Detail the structured storage feature Speaking Points: Structured storage provided by WAMS is backed by a Windows Azure SQL Database DB can be Multi-tenant i.e 10 Mobile services can all use the one SQL Database. In this scenario each DB is partitioned by Schema Multiple ways admins can access the raw data being stored.

Authentication 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

Auth Microsoft Account Twitter Facebook Google Slide Objectives: Detail Auth options Speaking 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 operations Notes:

Push Notifications Slide Objectives: Continue building out the Getting Started sample by adding Push Notifications to send a toast or tile Notes: Full demo script and snippets available in the links on slide 2.

How user see push notifications? Slide Objectives: Detail Auth options Speaking 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 operations Notes:

Push Notification Lifecycle Overview WP 8 Mobile Services Request Channel URI Register with your Cloud Service Authenticate & Push Notification App (2) (3) (1) Notification Client Platform Windows Push Notification Service Slide Objectives: Detail the push notification lifecycle to give context for the demo coming up WNS is free Speaking Points: Show the start screen and talk about how push notifications can be used to lightup the start screen Green components are those FREE services Microsoft provides Blue 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 service Step 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 (3)

Scheduler Slide Objectives: Continue building out the Getting started Mobile Service adding a Schedule Notes: Demo script with full code snippets available in link on slide 2

Scheduler 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 Slide Objectives: Detail Auth options Speaking Points: Support for additional auth providers such as Facebook are coming soon 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 operations Notes:

Diagnostics, Logging, Scale Slide Objectives: Show diagnostics graphs provided by portal Show logging that has been performed by the sever side script snippets Show 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

Diagnostics, Logging and Scale API calls CPU Time Data Out Logging console.error(…) console.log(…) console.warn(…) Scale - Compute Scale out instance count Scale up VM size Scale - Storage Scale out mobile service tenant to dedicated SQL DB Scale up SQL DB capacity Slide Objectives: Detail what Mobile Services provides as far as Diagnostics, Logging and Scale is concerned Speaking Points: Note when moving a Mobile Service from a multi-tenant DB to its own. Currently data is not automatically migrated.

Summary 8/3/2019 Auth Server Logic Notifications Logging & Diag Data Slide Objectives: Provide broad overview of WA Mobile Services features Speaking Points: WAMS Build a cloud backend in minutes with no hassles, no deployments, no fear Supports Windows 8 client SDK, Windows Phone 8 SDK, iOS SDK Android coming soon Data Structured Storage with SQL Database Automatic service api generated for storage Rich querying capability Server Logic Automatic CRUD service api generated Ability to author server logic that intercepts CRUD operation pipeline Auth Authenticate against Windows Live Table level authorization with no code More granular control with server side scripts Notifications Integrates with WNS to provide Toast, Tile, Badge and Raw notifications Clean object model to compose notifications Scheduler Scheduler 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 monitoring Scale out and Scale up Data Scheduler Scale © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Q&A Notes: Capture audience Q&A and feature requests here and send to mobileservices@microsoft.com