windows phone 7 deep dive again and more - roberto freato whymca 2012
TRANSCRIPT
Windows Phone 7 Deep Dive Again and More WhyMCA 2012 Session WIN3
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
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
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
• DEMO • WCF Data Services with Windows Phone
7 • WhyMCA.01-DataServices
sql ce
• SQL Server stand-alone • Runs in IsolatedStorage
• DEMO • SQL CE & LINQ2SQL with Windows
Phone 7 • WhyMCA.02-SqlCE
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..)
• DEMO • Binding with Windows Phone 7
• WhyMCA.03-Binding
tiles, reminders and alarms
• Multiple tiles with deep linking (ShellTile)
• Reminders (ScheduledActionService) • Alarms
• DEMO • Multiple Tiles with Windows Phone 7
• WhyMCA.04-Tiles
• DEMO • Reminders with Windows Phone 7
• WhyMCA.05-ReminderAlarms
ux, silverlight, blend
• Separation of concerns • Easy-to-use designer tool
• DEMO • UX with Windows Phone 7
• WhyMCA.06-BlendUX
geolocation & sensors
• GeoCoordinateWatcher: – High precision – Low precision
• Accelerometer • External tool to inject to WP
emulator – GPS location – Acceleration
• DEMO • Geolocation and Sensors with Windows
Phone 7 • WhyMCA.07-Geolocation
azure toolkit
• Provides connectivity framework to apps
• Authentication/Authorization features • Infrastructure for push notifications
– Even for iPhone • Azure Storage SDK for Windows
Phone 7
• DEMO • DataServices Azure Integration
• WhyMCA.08-AzureIntegration
• DEMO • Azure Storage with Windows Phone 7
• WhyMCA.08-AzureIntegration
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)
• DEMO • AppHub with Windows Phone 7
• WhyMCA.09-AppHub
Q&A
Thanks
Roberto Freato Freelance IT Consultant & Trainer Email: [email protected] MVP, MCT, INPS, IMU, INAIL