building cross-platform apps with windows azure mobile services

Download Building Cross-Platform Apps  with Windows Azure Mobile Services

If you can't read please download the document

Upload: mark-barnes

Post on 30-Dec-2015

26 views

Category:

Documents


4 download

DESCRIPTION

Building Cross-Platform Apps with Windows Azure Mobile Services. Chris Risner Technical Evangelist 3-545. Introduction. Windows Azure Technical Evangelist. @ chrisrisner. Mobile Developer. http:// chrisrisner.com. Former .NET developer. Live in Washington. Grew up in Michigan. - PowerPoint PPT Presentation

TRANSCRIPT

Building Cross-Platform Apps with Windows Azure Mobile Services

Building Cross-Platform Apps with Windows Azure Mobile ServicesChris RisnerTechnical Evangelist3-545Introduction

@chrisrisnerhttp://chrisrisner.comLive in WashingtonWindows Azure Technical EvangelistMobile DeveloperFormer .NET developerCo-Organizer of Seattle GDGGrew up in MichiganAgenda

Building AppsData StorageBuilding Apps with Mobile ServicesPush NotificationsSecurity and AuthenticationQuestionsWhat are we Building Apps for?

How can we Build those Apps?

C#, HTML/JSJavaObjective-C

C#HTML/JSWhich should I use??Windows Azure Mobile ServicesDataNotificationsAuthServer LogicScheduler

Logging & DiagScaleGetting started with HTML / JSPowered by SQL DatabaseSame DB Multiple Mobile ServicesData management in:Windows Azure PortalSQL PortalSQL Management StudioREST APICLI ToolsStructured StorageThe REST APIActionHTTP VerbURL SuffixCreatePOST/TodoItemRetrieveGET/TodoItem?$filter=id%3D42UpdatePATCH/TodoItem/idDeleteDELETE/TodoItem/idData Operations and their REST EquivalentsBase REST API Endpoint URLhttp://Mobileservice.azure-mobile.net/tables/*JSON to SQL Type MappingsJSON ValueT-SQL TypeNumeric values (integer, decimal, floating point)FloatBoolean BitDateTimeDateTimeOffset(3)String Nvarchar(max)Server Side ScriptsBuilt on top of Node.jsPasses through to SQL by defaultIntercept CRUD requests to tablesFully customizable logic flowCustomizing data flow on the serverNode ModulesExtensibility through numerous modulesrequestconsolepush.*mssqlstatusCodesazuresendgridpushertwilioAdding Server LogicPush NotificationsRegister for push notificationsRegister with your send token to Mobile ServicePush from server side scriptsClientAppMobile ServicesPush Provider(1)(2)(3)(3)Pushing with NativeUser Authentication

Table level permissions for each operationEveryoneAnyone with the Application KeyOnly Authenticated UsersOnly Scripts and AdminsUser options in scriptsuser.level (admin, authenticated, anonymous)user.userId (provider:id or undefined)Data AuthorizationAdding Authentication with XamarinCommand Line ToolsCreate / Delete ServicesCreate / Update / Delete Tables and PermissionsInspect / Delete Table DataCreate, / Upload / Delete ScriptsScriptable control from PowerShell / BashScale Up / Down ServicesMuch More!Using the CLIExecute scripts on a ScheduleExecute scripts on demandFrequency and length of execution based off of service levelSchedulerNon-table based scriptsAccessible from:GetPostPutPatchDeleteSame permissions as Tables

Custom APINPMAbility to use npm install module to download NPM modulesCurrently accessible from Custom API onlyScript Source ControlShared ScriptsMake scripts accessible from other scriptsLike creating Node ModulesHandled through Git repoAccess to table, scheduler, custom API, shared scripts, and permissionsScheduler, Custom API, Script SourceDiagnostics, Logging, ScaleAPI Calls, CPU Time, Data OutConsole logging from ScriptsScale service based off of API CallsScale SQL DB / ServerService ScaleFree500K API calls per subscription per month

Standard1.5M API calls per unit per month

Premium15M API calls per unit per monthDiagnostics, Logging, and ScalePreview Pricingpreview pricing & licensing$service level agreementsPreviewNo availability SLAShared (multitenant environment)Small instance is the only size available; multiple may be purchased First 10 Mobile Services are free, with no plans to start chargingReserved (private VM)Small instance is the only size available; multiple may be purchasedCharge for Preview will be at the same reduced rate as Web SitesUp to 100 Mobile Services30Mobile Services GA Pricingpricing & licensing$service level agreementsGeneral Availability99.9%FreeStandardPremiumPriceFreeUp to 10 services,Up to 100 Active Devices**$25 USD/mo(per unit**)$199 USD/mo(per unit**)API Calls500K (per subscription)1.5M(per unit)15M(per unit)ScaleN/AUp to 6 Standard unitsUp to 10 Enterprise unitsScheduled JobsLimitedIncludedIncludedSQL Database (required)20MB Included, Standard rates apply for more capacity20MB Included, Standard rates apply for more capacity20MB Included, Standard rates apply for more capacity*prorated daily

**Active devices refers to the number of unique devices that have both obtained your Mobile Services powered app from a public app store and have made at least one call to your mobile service over the past 30 days.31Windows Azure Mobile ServicesDataNotificationsAuthServer LogicScheduler

Logging & DiagScaleCross-Platform Support

ResourcesGet a Windows Azure Free Trial Accounthttp://www.windowsazure.com

Videos, Tutorials and morehttp://www.windowsazure.com/mobile

Source code on Githubhttps://github.com/WindowsAzure/azure-mobile-services

Contact mehttp://chrisrisner.com@chrisrisner

Mobile Services at BuildMobile Services Soup to NutsJosh Twist Thursday 2pmProtips for Mobile ServicesChris Risner Thursday 5pmCross-Platform w/ Mobile ServicesChris Risner Thursday 4pmConnected Win Phone AppsYavor Georgiev Friday 9amGoing Live and BeyondKirill and Paul Friday 10:30amDelivering Push Notifications to MillionsElio Demaggio Friday 12pmWhos that user?Dinesh Kulkarni Friday 2pmDeveloping Windows 8.1 apps using Windows Azure Mobile Services Nick Harris Friday 2pm 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.