Windows 8 applications with Azure backends

Download Report

Transcript Windows 8 applications with Azure backends

Windows 8 applications with
Azure backends
Mihai Tataran
General Manager, Avaelgo
Microsoft Most Valuable Professional
Objectives
• Understand the basic principles to develop a Windows 8 application,
with an Windows Azure (Mobile Services) backend
Agenda
• Modern UI applications
• HTML5, WinJS, Controls
• Windows 8 Platform
• Windows Azure introduction
• Windows Azure Mobile Services
HTML 5 and Javascript
• HTML5
• Indexed DB
• App Cache
• Web Workers
• Canvas
• SVG
• FormData
• CSS3 animations &
•
•
•
•
•
transitions
XHR
FileAPI
Web Sockets
Geolocation
PostMessage
Modern UI apps
• Only the HTML5 DOCTYPE
• Single window
• All the device’s screen
• Access to Windows Runtime
Modern UI apps: runtime
HTML Host Process
App Code
App Container
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
UI Controls
• Designed for touch, mouse, keyboard
• Everyday widgets
• Text editing
• Scrolling content
• Presenting data
• Commanding surfaces
Process states
App
launch
Splash
screen
Low
memory
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
Termination
• System needs more memory
• User switch occurs
• System shutdown
• Apps crash
• Application is not notified
Saving state
• sessionState in WinJS
• Windows.Storage.ApplicationData to save application
state
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
Charms
• Some kind of Start Bar
• Ideal manner to use device’s settings
• Or any other app specific settings
Share contracts
• Predefined contracts in Metro
Demo
• Win 8 Apps
Agenda
• Modern UI applications
• HTML5, WinJS, Controls
• Windows 8 Platform
• Windows Azure introduction
• Windows Azure Mobile Services
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
What is Windows Azure Mobile Services?
Demo
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
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
MCSD Certifications
www.netcomlearning.com
MCSD: Windows Store Apps
*Free Second Shot Exam is Back (Expires May 31st, 2013)
www.netcomlearning.com
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
Love of Learning
Empowering The Disadvantaged
Your class enrollment at NetCom
Learning will pay for a child’s education
for a year!
www.netcomlearning.com
Q&A
1-888-5-NETCOM (563-8266)
[email protected]
www.NetComLearning.com