Presentation is loading. Please wait.

Presentation is loading. Please wait.

REST API Connected Apps Windows Store iOS Android Windows Phone 8 iOS Android HTML 5/JS.

Similar presentations


Presentation on theme: "REST API Connected Apps Windows Store iOS Android Windows Phone 8 iOS Android HTML 5/JS."— Presentation transcript:

1

2

3 REST API Connected Apps Windows Store iOS Android Windows Phone 8 iOS Android HTML 5/JS

4 Dev&TestTune PerfGo LiveMonitorVersion

5

6

7

8

9

10

11 Dev&TestTune PerfGo LiveMonitorVersion

12

13

14 Blob Storage Mobile Service 1 2 3 4

15

16

17 JOINS BETTER IN SQL

18

19

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

21

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

24

25 Dev&TestTune PerfGo LiveMonitorVersion

26

27

28

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(); } }); }

32

33

34

35

36

37

38


Download ppt "REST API Connected Apps Windows Store iOS Android Windows Phone 8 iOS Android HTML 5/JS."

Similar presentations


Ads by Google