Presentation is loading. Please wait.

Presentation is loading. Please wait.

.NET backend Heterogeneous data Hybrid Connections Offline sync Xamarin AAD Authentication Visual Studio API Management Notification Hubs Sencha.

Similar presentations


Presentation on theme: ".NET backend Heterogeneous data Hybrid Connections Offline sync Xamarin AAD Authentication Visual Studio API Management Notification Hubs Sencha."— Presentation transcript:

1

2

3

4

5

6 .NET backend Heterogeneous data Hybrid Connections Offline sync Xamarin AAD Authentication Visual Studio API Management Notification Hubs Sencha

7

8 Extend line-of-business to mobile Bring turn-key login experience with corporate credentials to mobile developers Enable applications built around organizational structures Make AAD users a first-class concept in Mobile Services, with push-to-user and per-user data

9

10 3 2 1

11 12 3

12

13

14 source Mobile Services compatible WebAPI controllers git WebDeploy Commit hook: Build project Website XDRIVE\site\wwwroot Mobile Services compatible WebAPI controllers Web.config C:\...\MobileServices Mobile Services runtime Web.config website root load User database: EF code-first migrations or custom migrations App settings injected here

15

16 TableController DataManager DTO Mobile Service Device SQL Database BYOD MongoDB Table Storage

17 TableController DataManager DTO Mobile Service Device Model AutoMapper Azure SQL db/BYOD Existing Tables System Properties Table

18 TableController (with optimistic concurrency) Mobile Service Device SQL Database BYOD MongoDB Table Storage SQLite Explicit Push/Pull Conflict resolution

19

20

21 1.var localTable = client.GetSyncTable (); 2.var remoteTable = client.GetTable (); 3.await localTable.PullAsync(); 4. 5.var firstItem = (awaitlocalTable.Take(1).ToEnumerableAsync()).FirstOrDefault(); 6.var firstItemCopy = newTodoItem 7.{ 8. Id = firstItem.Id, 9. Version = firstItem.Version, 10. Text = firstItem.Text, 11. Complete = firstItem.Complete 12.}; 13. 14.firstItemCopy.Text = "Modified"; 15.await remoteTable.UpdateAsync(firstItemCopy); 16.AddToDebug("Updated the item on the server"); 17. 18.firstItem.Text = "Modified locally"; 19.await localTable.UpdateAsync(firstItem); 20.AddToDebug("Updated the same item in the local table"); 21. 22.AddToDebug("Number of pending operations: {0}", client.SyncContext.PendingOperations); 23.await client.SyncContext.PushAsync();

22

23

24 Hybrid Connections Manager Connection string points to My-Database: 1433 My-Database Port: 1433 Hybrid Connection

25

26 Build & HostPublish & Manage Mobile Services Web Sites API Management

27 WINDOWS AZURE API DEVELOPER PORTAL ADMIN PORTAL PROXY MCROSOFT AZURE API MANAGEMENT PUBLISHER / ADMIN DEVELOPERS APPS BACKEND

28

29 API Management Features ADAPT Formats, protocols, URIs, aggregation EXPOSE Discovery, packaging, subscriptions, docs PROTECT Authorization, quotas, rate limits, request validation UNDERSTAND Usage, health, latency, activity, trends MANAGE Lifecycle, versioning, monitoring

30

31

32 Kindle (ADM) support Tag Expressions Visual Studio integration Mobile Services integration New push-based pricing Bulk registration mgmt. APIs Xamarin

33

34

35 Reservation changes, Deals, Back-office Travel/Hospitality/Airlines SMS replacement, Deals, Back-office Banking/Insurance Orders, Product UX, Back-office Discrete manufacturing/Auto Prescriptions, Appointments, LOB (maintenance) Healthcare Breaking news News/Media Offers, Orders, Back-office Retail

36 Platform Notification Service App back-end

37

38 X-plat: from any back-end to any mobile platform Backend can be on-prem or in the cloud,.NET/Node/Java/PHP/Node/anything. Support Windows Phone/Windows/iOS/Android and Kindle Fire. No need to store device information in the app back-end Notification Hub maintains the registry of devices and the associations to users/interest groups Routing and interest groups Target individual users and large interest groups using tags Personalization and localization Keep your back-end free of presentation concerns like localization and user preferences using templates Broadcast at scale, multicast, unicast Push notifications to millions of devices (across platforms) with a single call Telemetry Rich telemetry available through portal or APIs

39 APNs WNS Notification Hub App back-end iOS app Windows app MPNSGCMADM

40

41 Notification Hub App back-end Tag:”Beatles”Tag:”Wailers” Tag:”Beatles”

42

43 Social “All my group except me” group:id && !user:id Events Touchdown event is send to everybody following either team Followteam:A || Followteam:B || followplayer:1 || followplayer:2 … Hours Send notifications at specific times. E.g. Tag with timezone, @12pm in Seattle send: timezone:PST && follows:thaifood Versions & platforms Send a reminder to update to your first Android app version: version:1.0 && platform:Android

44 10s 3+<2 100s 3+ 150+

45

46

47

48 push.wns.sendToastText04( null, { text1: ‘Hello!’ }, { success: function() { console.log("Sent push"); } }); MobileService.Push.RegisterNativeAsync(channel);

49

50

51 Notification Hub App back-end {id} upsert({id}, channel, tags) createId()

52 Notification Hub App back-end getByTag(userid) update(tags)

53 await App.MobileService.GetPush().RegisterNativeAsync(channel.Uri); public class AddAADUser : INotificationHandler { public void Register(ApiServices services, HttpRequestContext context, NotificationRegistration registration) { registration.Tags.Add("aaduser:" + context.Principal.Identity.Name); } services.Push.SendAsync(msg, "aaduserid:" + context.Principal.Identity.Name);

54

55 App back-end Notification Hub Download media/msg Push to sync (no sensitive info)

56

57

58 App back-end Notification Hub Download new song Push to sync Add new song

59

60

61 FreeBasicStandard Price (/mo)Free$20/unit/mo$199/unit/mo Active Devices500/namespaceUnlimited Pushes100K/unit/mo500K/unit/mo5 M/unit/mo ScalingN/A9 unitsUnlimited

62

63

64 Breakout Sessions Find Me Later At.... Server, Cloud & Tools Expo Booth 5/12 1:15-2:30 DEV-B307 Announcing Hybrid Connections: Building Amazing Hybrid Web Sites and Mobile Apps in Minutes 5/12 4:45-6:00 DEV-B317 Mobile Line-of-Business Applications in Microsoft Azure 5/13 3:15-4:30 DEV-B330 What’s New in Mobile Services and Notification Hubs 5/14 1:30-2:45 DEV-B345 High-Volume, Low-Latency Mobile Push Notifications 5/14 3:15-4:30 DEV-B351 Introduction to API Management on Microsoft Azure 5/15 8:30-9:45 DEV-B382 Microsoft Azure API Management Master Class 5/15 1:00-2:15 DEV-B343 Building Microsoft Azure Mobile Services w/ Visual Studio

65 Mobile Dev Center Notification Hubs Dev Center Channel 9 Videos Azure Fridays azure.microsoft.com/mobile azure.microsoft.com/documentation/services/notification-hubs/ channel9.msdn.com/Series/Windows-Azure-Mobile-Services channel9.msdn.com/Shows/Azure-Friday

66 Having a friend buy your coffee? Yea, it’s kind of like that. MSDN Subscribers get up to $150/mo in Azure credits. Stop by the Developer Platform and Tools booth and visit the MSDN Subscriptions station to activate your benefits and receive a gift! http://aka.ms/msdn_teched 3 Steps to New Gear! With Application Insights

67 Microsoft Engineering Stories Visual Studio Industry Partner Program Visual Studio | Integrate http://www.visualstudio.com

68

69

70


Download ppt ".NET backend Heterogeneous data Hybrid Connections Offline sync Xamarin AAD Authentication Visual Studio API Management Notification Hubs Sencha."

Similar presentations


Ads by Google