windows azure: connecting the dots for a mobile workforce
Post on 29-Jan-2018
197 Views
Preview:
TRANSCRIPT
T7 Session 4/16/2015 2:00 PM
" Windows Azure: Connecting the
Dots for a Mobile Workforce"
Presented by:
Mike Benkovich
Imagine Technologies, Inc.
Brought to you by:
340 Corporate Way, Suite 300, Orange Park, FL 32073 888-‐268-‐8770 ·∙ 904-‐278-‐0524 ·∙ sqeinfo@sqe.com ·∙ www.sqe.com
Mike Benkovich
Imagine Technologies, Inc. Mike Benkovich brings it all—energy, laughter, and a contagious passion for coding—with him. In a career that has taken him from minion to business owner, from database administrator to developer, from author to evangelist, Mike has seen it all. In more than twenty-five years of working in the technology industry, he has been part of the latest waves to sweep the industry. Whether delivering MSDN events live or webcast presentations, on the developer resource site BenkoTips or his blog, Mike brings enthusiasm for tools and an energy for the search to find a better way. Follow Mike on Twitter @mbenko.
4/7/15
1
Mike Benkovich mike@benko.com www.benkoTips.com @mbenko
4/7/15
2
grail
End user experience
Great apps delivered to the user’s choice of device
Development agility to move at mobile speed
Developer Experience +
+
-‐
4/7/15
3
http://www.eyechartmaker.com
• Web -‐ HTML5, css & js • iOS -‐ Native Objective C • Android -‐ Java • Windows & WP -‐ C# or JavaScript & HTML • Xamarin -‐ C# + XAML or native • PhoneGap -‐ Javascript
4/7/15
4
4/7/15
5
Code to instan+ate Mobile Services In Applica+on object add code to create an instance of your Mobile Service
Call methods to operate on the service…i.e.
public static MobileServiceClient MobileService = new MobileServiceClient( "https://demoapp123.azure-‐mobile.net/", "OxxAAAAbbbCCCCCddEEEfffGGGh12345" );
private void ButtonSave_Click(object sender, RoutedEventArgs e) { var todoItem = new TodoItem { Text = TodoInput.Text }; InsertTodoItem(todoItem); }
4/7/15
6
www.azure.com
4/7/15
7
Web Native
Full access to client features and power High flexibility and customization per device Device-‐dependent
Device-‐independent Easier management Constrained device integration and performance
Web
Native
4/7/15
8
§
Iden+ty Use exis+ng iden+ty providers like Oauth MicrosoD, TwiHer, Facebook, Google, etc.
Authorize to work with data Table op+ons Everyone With applica+on key Authen+cated users Admins
4/7/15
9
Add code to trigger authen+ca+on private MobileServiceUser user; private async System.Threading.Tasks.Task Authenticate() { while (user == null) { string message; try { user = await App.MobileService .LoginAsync(MobileServiceAuthenticationProvider.Facebook); message = string.Format("You are now logged in -‐ {0}", user.UserId); } catch (InvalidOperationException) { message = "You must log in. Login Required"; } MessageBox.Show(message); } }
Working with Iden+ty
4/7/15
10
Server logic Scheduled jobs No+fica+on services Diagnos+cs, logging and scale
Diagnos+cs, Logging and Scale
Diagnos+cs API calls CPU Time Data Out
Logging console.error(…) console.log(…) …
Scale -‐ Compute Scale out instance count Scale up VM size
Scale -‐ Storage Scale out mobile service tenant to dedicated SQL DB Scale up SQL DB
4/7/15
11
Pricing
reserved mode service level agreements
Preview No availability SLA*
General Availability 99.9%
Shared Instance
Small instance is the only size available
Free - 10 applications with unlimited inbound data. Capped max of 165MB outbound data/day
Pay - SQL Database
Private VM - Small instance is the only size available
Free - unlimited inbound data. 165MB outbound data/day, excess charged.
Pay - SQL Database, Compute same reduced rate as Web Sites i.e 33% discount, excess outbound transfers starting at $0.12/GB
Up to 100 applications
shared mode
Summary Learn and understand the paHerns for connected applica+ons
Use available tools and technologies to make it simpler
Try Azure Mobile Services today for FREE! hHp://aka.ms/AzureTrialMB
More info on my site hHp://www.Benko+ps.com
4/7/15
12
Visit my site http://www.benkotips.com • Resources from today’s talk • Webcasts • Downloads • More!
Get a FREE Cloud Readiness Evaluation
email mike@benko.com for more info
top related