Developing Mobile Apps with Windows Azure Mobile Services

  • Published on
    23-Feb-2016

  • View
    63

  • Download
    0

DESCRIPTION

Developing Mobile Apps with Windows Azure Mobile Services. Pongsakorn Poosankam Microsoft Innovation Center Manager Microsoft (Thailand) Limited. Kind of Mobile Apps . Offline. Online. Hybrid. Me. Thai Radio Live. AIS Book Store. Be hide the scene. 1+ Terabytes of Data - PowerPoint PPT Presentation

Transcript

<p>Developing Mobile Apps _x000b_with Windows Azure Mobile Services</p> <p>Developing Mobile Apps with Windows Azure Mobile ServicesPongsakorn PoosankamMicrosoft Innovation Center ManagerMicrosoft (Thailand) Limited9/14/2012 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.1Windows Server Management MarketingKind of Mobile Apps </p> <p>OfflineOnlineHybridMeThai Radio LiveAIS Book Store</p> <p>Show mobile app scenario 2Be hide the sceneWindows Azure1+ Terabytes of Data2+ million subscribers5,000+ registers/day90% Thai e-Publishingreduced IT costs by 30%</p> <p>http://bit.ly/KamauU</p> <p>ScalableHigh AvailabilitySave CostSelf ServiceFlexibleDelivery more than 5 million publications 3What is Windows Azure Mobile Services?DataNotificationsAuthServer LogicScale</p> <p>LoggingDiagnosticsWAMSNo hassles, no deployments, no fearWindows 8 client SDKSupport for iPhone, Windows Phone and Android coming soon</p> <p>DataStructured Storage with SQL DatabaseAutomatic service api generated for storageRich querying capability</p> <p>NotificationsIntegrates with WNS to provide Toast, Tile, Badge and Raw notificationsClean object model to compose notifications</p> <p>Server LogicAutomatic CRUD service api generatedAbility to author server logic that intercepts CRUD operation pipeline</p> <p>AuthAuthenticate against Windows LiveTable level authorization with no code More granular control with server side scripts</p> <p>Scale out and Scale up</p> <p> 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.9/14/20124</p> <p>http://www.microsoft.com/en-us/download/details.aspx?id=8396Getting Starteda backend for your mobile app in minutesDemoDemo the New Mobile Service Create a new Windows 8 application experience in the portal6Structured StorageStructured Storage with SQL DatabaseIf using single database apps are partitioned by schemaAppX.TodoitemAppY.TodoitemManage data inPortalSQL PortalSQL Management StudioREST API</p> <p>7Server LogicAutomatic service REST API generated for storageDynamic Schema on/offAbility to author server logic that intercepts CRUD operation pipelineRich querying capability</p> <p>Dynamic 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.8REST API to SQL type mappingsJSON ValueT-SQL TypeNumeric values (integer, decimal, floating point)Float(53)Boolean BitDateTimeDateTimeOffset(3)String Nvarchar(max)9Server Logicadding server logic on CRUD operationsDemo10Push Notification Lifecycle OverviewRequest Channel URIRegister with your Cloud ServiceAuthenticate &amp; Push NotificationWindows 8NotificationClient PlatformAppMobile ServicesWindows Push Notification Service(1)(2)(3)(3)WNS is Free11Push NotificationsIntegrates with WNS to provide Toast, Tile, Badge and Raw notificationsPortal captures your WNS client secret and package SIDpush.wns.* provides: clean easy object model to compose notificationsPerforms auth against WNS for you</p> <p>12Push NotificationsDemoDemo the New Mobile Service Create a new Windows 8 application experience in the portal13Auth*Authenticate against Windows LiveTable level permissions for each CRUD operationEveryoneAnyone with the Application KeyOnly Authenticated UsersOnly Scripts and AdminsMore granular control with server side scripts</p> <p>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. </p> <p>14Adding Authenticationhooking up Windows Live in minutesDemo15Diagnostics, Logging and ScaleDiagnosticsAPI callsCPU TimeData Out</p> <p>Loggingconsole.error()console.log()</p> <p>Scale - ComputeScale out instance countScale up VM size</p> <p>Scale - StorageScale out mobile service tenant to dedicated SQL DBScale up SQL DB</p> <p>Diagnostics see in dashboard16Diagnostics, Logging, Scale</p> <p>Demo17Free Offer at LaunchRunning on shared instances</p> <p>10 Mobile Services1GB SQLDatabaseMust be deployed to US-East DCData transfer is per subscription, not per mobile serviceNo SLA during Preview. Only small instances available. Can upgrade to a reserved instance at 33% discount from normal Pay-As-You-Go rates during Preview.From WA Free TrialUnlimited ingress165MB daily egress1 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.</p> <p>WA free trial DB expires after 90 days. Important to note that BizSpark and MSDN subscriptions provide longer free DB</p> <p>18SummaryDataNotificationsAuthServer LogicScale</p> <p>LoggingDiagnosticsAvailable PreviewWindows 8</p> <p>Coming soonWindows PhoneiPhoneAndroid</p> <p>Start $5 per month100 MB MSSQLShare computeWAMSNo hassles, no deployments, no fearWindows 8 client SDKSupport for iPhone, Windows Phone and Android coming soon</p> <p>DataStructured Storage with SQL DatabaseAutomatic service api generated for storageRich querying capability</p> <p>NotificationsIntegrates with WNS to provide Toast, Tile, Badge and Raw notificationsClean object model to compose notifications</p> <p>Server LogicAutomatic CRUD service api generatedAbility to author server logic that intercepts CRUD operation pipeline</p> <p>AuthAuthenticate against Windows LiveTable level authorization with no code More granular control with server side scripts</p> <p>Scale out and Scale up</p> <p> 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.9/14/20121920</p>

Recommended

View more >