Download presentation
Presentation is loading. Please wait.
Published byLaura McLaughlin Modified over 8 years ago
3
REST API Connected Apps Windows Store iOS Android Windows Phone 8 iOS Android HTML 5/JS
4
Dev&TestTune PerfGo LiveMonitorVersion
11
Dev&TestTune PerfGo LiveMonitorVersion
14
Blob Storage Mobile Service 1 2 3 4
17
JOINS BETTER IN SQL
20
IEnumerable sessions; Events = await App.MobileService.GetTable ().Where(e => e.Start > DateTime.Now).ToEnumerableAsync(); foreach (var e in Events) { sessions = await App.MobileService.GetTable ().ToEnumerableAsync(); /*....*/ } IEnumerable sessions; Events = await App.MobileService.GetTable ().Where(e => s.Start > DateTime.Now).ToEnumerableAsync(); /*....*/ LOTS OF API CALLS
22
Dev&TestTune PerfGo LiveMonitorVersion
23
$ General Availability 99.9% FreeStandardPremium PriceFree Up 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 units Up to 10 Enterprise units Min Burst per instance 10 RPS100 RPS SQL Database (required) 20MB Included, Standard rates apply for more capacity 20MB Included, Standard rates apply for more capacity 20MB Included, Standard rates apply for more capacity
25
Dev&TestTune PerfGo LiveMonitorVersion
29
Dev&TestTune PerfGo LiveMonitorVersion
30
public class VersioningHandler : DelegatingHandler { protected override Task SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) { request.RequestUri = new Uri(request.RequestUri.AbsoluteUri.ToString() + “?version=2.0" ); return base.SendAsync(request, cancellationToken); } } public static MobileServiceClient MobileService = new MobileServiceClient( "https://eventbuddykg.azure-mobile.net/", "lLsNsvgOmQBfUGOHgKkIgnFwblJpla63", new VersioningHandler() );
31
function insert(item, user, request) { if (request.parameters.version < 2.0) { session.room = 'Not entered'; } request.execute({ success: function () { if (request.parameters.version < 2.0) { delete session.room; } request.respond(); } }); }
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.