developing for windows 8 winrt session 4 fundamentals n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Developing for Windows 8/ WinRT Session 4 Fundamentals PowerPoint Presentation
Download Presentation
Developing for Windows 8/ WinRT Session 4 Fundamentals

Loading in 2 Seconds...

play fullscreen
1 / 9

Developing for Windows 8/ WinRT Session 4 Fundamentals - PowerPoint PPT Presentation


  • 84 Views
  • Uploaded on

Developing for Windows 8/ WinRT Session 4 Fundamentals. Kevin Stumpf. Agenda. Async / Await Pattern WinRT API WinRT’s Security Model Q&A + Homework Assignment. Synchronous execution. Handle UI operations. Handle UI operations. Download a File. Read something from disk.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Developing for Windows 8/ WinRT Session 4 Fundamentals' - vlad


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
agenda
Agenda
  • Async / Await Pattern
  • WinRT API
  • WinRT’s Security Model
  • Q&A + Homework Assignment
slide3

Synchronous execution

Handle UI operations

Handle UI operations

Download a File

Read something from disk

Asynchronous execution

Worker Thread I

(IO operations, e.g. reading a 4GB file from disk)

Handle UI operations

Handle UI operations

Handle UI operations (Main Thread)

Worker Thread II

(CPU-intense business logic, e.g. calculating the square root of every prime number up to 17 trillion)

slide4

Task

Unit of Work

Asynchronous

Simple and Flexible

slide5

on method declaration

returns void or Task

async

await

precede method call

only in async method

winrt api
WinRT API

asynchronous

object oriented

private

Hierarchical

self-explanatory namespaces

security system
Security System

App

exposes

Capabilities

publishes

restricts

Marketplace

Broker

Network (Client/Server)

  • Shared Directories
  • Documents
  • Videos
  • Pictures
  • Music
  • Hardware
  • Webcam
  • Microphone
  • Proximity
  • GPS
homework assignment
Homework Assignment
  • Record a video with your webcam
  • Play a preview in your application
  • Save it to the “My Videos” folder
  • *Have a ListBox that lists all the Pictures in your Pictures Library
  • *Show a preview of a Picture when the user selects a ListBox entry

*For you Hardcore guys! 