![Page 1: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/1.jpg)
Windows 8 applications with Azure
backendsMihai TataranGeneral Manager, AvaelgoMicrosoft Most Valuable Professional
![Page 2: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/2.jpg)
Objectives
• Understand the basic principles to develop a Windows 8 application, with an Windows Azure (Mobile Services) backend
![Page 3: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/3.jpg)
Agenda
• Modern UI applications• HTML5, WinJS, Controls• Windows 8 Platform• Windows Azure introduction• Windows Azure Mobile Services
![Page 4: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/4.jpg)
HTML 5 and Javascript• HTML5• Indexed DB• App Cache• Web Workers• Canvas• SVG• FormData
• CSS3 animations & transitions
• XHR• FileAPI• Web Sockets• Geolocation• PostMessage
![Page 5: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/5.jpg)
![Page 6: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/6.jpg)
Modern UI apps
• Only the HTML5 DOCTYPE• Single window• All the device’s screen• Access to Windows Runtime
![Page 7: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/7.jpg)
Modern UI apps: runtimeC:\Program Files\ Applications\...
HTML
CSS
JavaScript
Resources
Manifest App Container
HTML Host Process
App Code
App p
ack
age
Runnin
g a
pp
![Page 8: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/8.jpg)
WinJS
• The library for Modern UI style apps• Matches the Windows Modern UI design style• Designed for touch as well as traditional input• Scales across form factors
![Page 9: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/9.jpg)
UI Controls• Designed for touch, mouse, keyboard
• Everyday widgets
• Text editing
• Scrolling content
• Presenting data
• Commanding surfaces
![Page 10: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/10.jpg)
Process states
Running Suspendedsuspending
Terminated
Low memory
Core runs
No code runs
No process
resuming
App has 5s to work after suspend
message App is not notified when
terminated
App is notified when resumed
Applaunch
Splash screen Code runs
![Page 11: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/11.jpg)
Suspend state• No CPU, Disk or Network consumed• All threads are suspended• Apps remain in memory• Apps instantly resumed from suspend when brought
to foreground
• Exception: Background tasks
![Page 12: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/12.jpg)
Termination
• System needs more memory• User switch occurs• System shutdown• Apps crash
• Application is not notified
![Page 13: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/13.jpg)
Saving state
• sessionState in WinJS•Windows.Storage.ApplicationData to save application state
![Page 14: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/14.jpg)
Saving / restoring state
Scenario You should….User is using your App Save user data incrementally
App switched away from (Suspending)
Save where the user is – what screen they are on, for example
Not running App launched by user (Activated)
Bring the user back and restore their session as if they never left
Suspended App launched by user (Resuming)
Do nothing
![Page 15: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/15.jpg)
Charms
• Some kind of Start Bar• Ideal manner to use device’s settings• Or any other app specific settings
![Page 16: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/16.jpg)
Share contracts
• Predefined contracts in Metro
Source App Target AppData Package
![Page 17: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/17.jpg)
Demo
• Win 8 Apps
![Page 18: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/18.jpg)
Agenda
• Modern UI applications• HTML5, WinJS, Controls• Windows 8 Platform• Windows Azure introduction• Windows Azure Mobile Services
![Page 19: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/19.jpg)
Windows Azure introduction
• The cloud platform offered by Microsoft• Infrastructure as a Service• Platform as a Service• Run websites and applications in the cloud• Run (backend) web services in the cloud
• Storage: tables, blobs, etc.• SQL Database
![Page 20: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/20.jpg)
What is Windows Azure Mobile Services?
Data
Notifications
Auth
Server Logic
Scale
Logging
Diagnostics
![Page 21: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/21.jpg)
Demo
![Page 22: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/22.jpg)
Upcoming Webinars
• Free Webinar: Java 7 Certification | JDBC & Related Design Pattern• Free Webinar: Transition | Microsoft Office 2003 to Office 2010 | Outlook & Access• Free Webinar: Microsoft Dynamics CRM | A New Way to Work Together• Free Webinar: Windows Server 2012 and Windows 8: Better Together• Free Webinar: Windows Server 2012 Review | Courses & Certifications• Free Webinar: Microsoft Windows 8 Apps (TBD)
• Free Webinar: Developing Apps for SharePoint 101
• Free Webinar: Windows PowerShell for SharePoint 2013 and SharePoint Online
Sign up for free at: www.netcomlearning.com/webinars
www.netcomlearning.com
![Page 23: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/23.jpg)
Complimentary Azure Workshop
Workshop Agenda:• What is Cloud Computing and Why Would You Use It?• Microsoft and the Windows Azure Unique Value Proposition• Drill-Down on Windows Azure• Getting Started with Windows Azure
Windows Azure Architect / Evangelist | Gil Isaacs
If interested, Email us at [email protected]
Microsoft Corporation | New York City
June 19th - Full Day
By Invitation Only | 5 free seats for Webinar Attendees
------ Total of 40 seats ------
www.netcomlearning.com
![Page 24: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/24.jpg)
MCSD Certifications
www.netcomlearning.com
![Page 25: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/25.jpg)
MCSD: Windows Store Apps
www.netcomlearning.com
*Free Second Shot Exam is Back (Expires May 31st, 2013)
![Page 26: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/26.jpg)
MCSD: Windows Store Apps Using C#Classes
MCSD: Windows Store Apps Using HTML5• 20480: Programming in HTML5 with JavaScript and CSS3
• 20481: Essentials of Developing Windows Store Apps using HTML5 and JavaScript
• 20482: Advanced Windows Store Apps Development using HTML5 and JavaScript
MCSD: Web Applications• 20480: Programming in HTML5 with JavaScript and CSS3
• 20486: Developing ASP.NET MVC 4 Web Applications
• 20487: Developing Windows Azure and Web Services
**Schedules are Open for Enrollment**
Locations: Attend in-class or Live Online Instructor-led• New York• Las Vegas (All Inclusive Travel Package)• Arlington VA• Philadelphia, PA
www.netcomlearning.com
![Page 27: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/27.jpg)
Love of Learning
Your class enrollment at NetCom Learning will pay for a child’s education
for a year!
Empowering The Disadvantaged
www.netcomlearning.com
![Page 28: Windows 8 applications with Azure backends Mihai Tataran General Manager, Avaelgo Microsoft Most Valuable Professional](https://reader034.vdocuments.mx/reader034/viewer/2022042718/56649de95503460f94ae3db9/html5/thumbnails/28.jpg)
Q & A
1-888-5-NETCOM (563-8266)