windows phone 7 deep dive again and more - roberto freato whymca 2012

22
Windows Phone 7 Deep Dive Again and More WhyMCA 2012 Session WIN3

Upload: whymca

Post on 19-Jun-2015

244 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

Windows Phone 7 Deep Dive Again and More WhyMCA 2012 Session WIN3

Page 2: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

Agenda •  Technology «bathtub»

– WCF Data Services & SQL CE – Binding & co. – Tiles, Reminder & Alarms – Ux, Silverlight & Blend – Geolocation & Sensors – Azure Integration & WATWP

•  App Hub

Windows Phone 7

Page 3: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

today’s technologies •  Requirements

– Windows Phone 7 Mango Tools – Visual Studio 2010 (express included in

tools) – SQL Server Compact CE4 + VS SQLCE Tools – Windows Azure Toolkit for Windows Phone 7 –  Luck

Page 4: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

wcf data services

•  It is a Data Access Technology – Through HTTP

•  Enables EF Model in the client side – Queryable with LINQ – Some limitations

•  Zero-code Message  Size  

WCF Data Services N KB

SOAP N/2 KB

REST + XML N/4 KB

JSON N/10 KB

Page 5: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

• DEMO •  WCF Data Services with Windows Phone

7 •  WhyMCA.01-DataServices

Page 6: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

sql ce

• SQL Server stand-alone • Runs in IsolatedStorage

Page 7: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

• DEMO •  SQL CE & LINQ2SQL with Windows

Phone 7 •  WhyMCA.02-SqlCE

Page 8: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

binding •  Binding: connection between UI and data

– Could be bi-directional •  DataContext: each control can have one

– Can access data context through binding

– DataContext could be gerarchical (lists, etc..)

Page 9: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

• DEMO •  Binding with Windows Phone 7

•  WhyMCA.03-Binding

Page 10: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

tiles, reminders and alarms

•  Multiple tiles with deep linking (ShellTile)

•  Reminders (ScheduledActionService) •  Alarms

Page 11: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

• DEMO •  Multiple Tiles with Windows Phone 7

•  WhyMCA.04-Tiles

Page 12: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

• DEMO •  Reminders with Windows Phone 7

•  WhyMCA.05-ReminderAlarms

Page 13: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

ux, silverlight, blend

•  Separation of concerns •  Easy-to-use designer tool

Page 14: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

• DEMO •  UX with Windows Phone 7

•  WhyMCA.06-BlendUX

Page 15: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

geolocation & sensors

•  GeoCoordinateWatcher: – High precision – Low precision

•  Accelerometer •  External tool to inject to WP

emulator – GPS location – Acceleration

Page 16: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

• DEMO •  Geolocation and Sensors with Windows

Phone 7 •  WhyMCA.07-Geolocation

Page 17: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

azure toolkit

•  Provides connectivity framework to apps

•  Authentication/Authorization features •  Infrastructure for push notifications

– Even for iPhone •  Azure Storage SDK for Windows

Phone 7

Page 18: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

• DEMO •  DataServices Azure Integration

•  WhyMCA.08-AzureIntegration

Page 19: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

• DEMO •  Azure Storage with Windows Phone 7

•  WhyMCA.08-AzureIntegration

Page 20: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

the app hub

•  Pay attention to marketplace requirements – Marketplace Test Kit

•  Private delivery – Need of authentication

•  Beta delivery – Time limited and not officially supported

•  Physical deployment (ChevronWP7)

Page 21: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

• DEMO •  AppHub with Windows Phone 7

•  WhyMCA.09-AppHub

Page 22: Windows phone 7 deep dive again and more - roberto freato WhyMCA 2012

Q&A

Thanks

Roberto Freato Freelance IT Consultant & Trainer Email: [email protected] MVP, MCT, INPS, IMU, INAIL