Exam Ref 70-485: Advanced Windows Store App Development Using C#

Book description

Prepare for Microsoft Exam 70-485—and help demonstrate your real-world mastery of building Windows Store apps with C#. Designed for experienced developers ready to advance their status, Exam Ref focuses on the critical-thinking and decision-making acumen needed for success at the MCSD level.

Focus on the expertise measured by these objectives:

  • Develop Windows Store apps

  • Discover and interact with devices

  • Program user interaction

  • Enhance the user interface

  • Manage data and security

  • Prepare for a solution deployment

  • This Microsoft Exam Ref:

  • Organizes its coverage by exam objectives.

  • Features strategic, what-if scenarios to challenge you.

  • Table of contents

    1. Exam Ref 70-485: Advanced Windows Store App Development Using C#
    2. Dedication
    3. Introduction
      1. Microsoft certifications
      2. Acknowledgments
      3. Errata & book support
      4. We want to hear from you
      5. Stay in touch
    4. 1. Develop Windows Store apps
      1. Objective 1.1: Create background tasks
        1. Creating a background task
        2. Declaring background task usage
        3. Enumerating registered tasks
        4. Using deferrals with tasks
        5. Objective summary
        6. Objective review
      2. Objective 1.2: Consume background tasks
        1. Understanding task triggers and conditions
        2. Progressing through and completing background tasks
        3. Understanding task constraints
        4. Cancelling a task
        5. Updating a background task
        6. Debugging tasks
        7. Understanding task usage
        8. Transferring data in the background
        9. Keeping communication channels open
        10. Objective summary
        11. Objective review
      3. Objective 1.3: Create and consume WinMD components
        1. Understanding the Windows Runtime and WinMD
        2. Consuming a native WinMD library
          1. Using the Windows Runtime from a CLR Windows 8 app
          2. Using the Windows Runtime from a C++ Windows 8 app
        3. Creating a WinMD library
        4. Objective summary
        5. Objective review
      4. Chapter summary
      5. Answers
        1. Objective 1.1: Thought experiment
        2. Objective 1.1: Review
        3. Objective 1.2: Thought experiment
        4. Objective 1.2: Review
        5. Objective 1.3: Thought experiment
        6. Objective 1.3: Review
    5. 2. Discover and interact with devices
      1. Objective 2.1: Capture media with the camera and microphone
        1. Using CameraCaptureUI to capture pictures or video
        2. Using MediaCapture to capture pictures, video, or audio
        3. Objective summary
        4. Objective review
      2. Objective 2.2: Get data from sensors
        1. Understanding sensors and location data in the Windows Runtime
        2. Accessing sensors from a Windows Store app
          1. Responding to user movements with the accelerometer sensor
          2. Measuring angular velocity with the gyrometer
          3. Retrieving compass data
          4. Combining different data using the orientation sensor
          5. Getting data from the inclinometer sensor
          6. Using the light sensor
        3. Determining the user’s location
          1. Retrieving geographic data
          2. Tracking the user’s position
        4. Objective summary
        5. Objective review
      3. Objective 2.3: Enumerate and discover device capabilities
        1. Enumerating devices
        2. Using the DeviceWatcher class to be notified of changes to the device collection
        3. Enumerating Plug and Play (PnP) devices
        4. Objective summary
        5. Objective review
      4. Chapter summary
      5. Answers
        1. Objective 2.1: Thought experiment
        2. Objective 2.1: Review
        3. Objective 2.2: Thought experiment
        4. Objective 2.2: Review
        5. Objective 2.3: Thought experiment
        6. Objective 2.3: Review
    6. 3. Program user interaction
      1. Objective 3.1: Implement printing by using contracts and charms
        1. Registering a Windows Store app for the Print contract
        2. Handling PrintTask events
        3. Adding the user interface
        4. Creating a custom print template
        5. Understanding the print task options
        6. Paginating and previewing the document
        7. Choosing options to display in the preview window
        8. Reacting to print option changes
        9. Adding custom print options
        10. Implementing in-app printing
        11. Objective summary
        12. Objective review
      2. Objective 3.2: Implement Play To by using contracts and charms
        1. Introducing the Play To contract
        2. Testing sample code using Windows Media Player on a different machine
        3. Implementing a Play To source application
        4. Registering your app as a Play To receiver
        5. Objective summary
        6. Objective review
      3. Objective 3.3: Notify users by using Windows Push Notification Service (WNS)
        1. Requesting and creating a notification channel
        2. Sending a notification to the client
        3. Objective summary
        4. Objective review
      4. Chapter summary
      5. Answers
        1. Objective 3.1: Thought experiment
        2. Objective 3.1: Review
        3. Objective 3.2: Thought experiment
        4. Objective 3.2: Review
        5. Objective 3.3: Thought experiment
        6. Objective 3.3: Review
    7. 4. Enhance the user interface
      1. Objective 4.1: Design for and implement UI responsiveness
        1. Understanding .NET asynchronous patterns
          1. Understanding the asynchronous method in .NET 2.0
          2. Converting operations to tasks
        2. Writing methods using async techniques
        3. Implementing asynchronous methods
        4. Waiting for an event in an asynchronous way
        5. Implementing asynchronous calls
        6. Cancelling asynchronous operations
        7. Cancelling an operation in asynchronous calls
        8. Tracking operation progress
        9. Tracking progress in asynchronous operations
        10. Synchronizing multiple asynchronous calls
        11. Waiting for multiple asynchronous calls executed in parallel
        12. Choosing the right SynchronizationContext in libraries
        13. Objective summary
        14. Objective review
      2. Objective 4.2: Create animations and transitions
        1. Creating and customizing storyboarded animations
        2. Exploring dependent animations vs. independent animations
        3. Creating key-frame animations
        4. Using interpolations and easing functions in animations
        5. Using discrete animations
        6. Applying animations from the animation library
        7. Objective summary
        8. Objective review
      3. Objective 4.3: Create custom controls
        1. Adding a custom control to your Windows Store app
        2. Creating your own dependency properties for a custom control
        3. Reacting to changes in the visual state of the custom control
        4. Objective summary
        5. Objective review
      4. Objective 4.4: Design Windows Store apps for globalization and localization
        1. Planning for globalization
          1. Language settings in Windows
          2. Language definition in Windows Store Apps
        2. Localizing your app
          1. String data
          2. Images
          3. Dates and times
          4. Numbers and currencies
          5. Calendars
        3. Localizing your manifest
        4. Using the Multilingual App Toolkit
        5. Objective summary
        6. Objective review
      5. Chapter summary
      6. Answers
        1. Objective 4.1: Thought experiment
        2. Objective 4.1: Review
        3. Objective 4.2: Thought experiment
        4. Objective 4.2: Review
        5. Objective 4.3: Thought experiment
        6. Objective 4.3: Review
        7. Objective 4.4: Thought experiment
        8. Objective 4.4: Review
    8. 5. Manage data and security
      1. Objective 5.1: Design and implement data caching
        1. Understanding application and user data
        2. Caching application data
          1. Application data APIs
            1. Local Storage
            2. Roaming Storage
            3. Temporary Storage
          2. IndexedDB
          3. Extensible Storage Engine (ESE)
          4. HTML5 Web Storage
          5. WinJS.Application.sessionState
          6. WinJS.Application.local
          7. WinJS.Application.roaming
        3. Understanding Microsoft rules for using roaming profiles with Windows Store apps
        4. Caching user data
          1. Libraries
          2. SkyDrive
          3. HTML5 File API
          4. HTML5 Application Cache API
          5. External service, server application, third-party database, and cloud storage
        5. Objective summary
        6. Objective review
      2. Objective 5.2: Save and retrieve files from the file system
        1. Using file pickers to save and retrieve files
        2. Accessing files and data programmatically
        3. Working with folders, files, and streams
        4. Setting file extensions and associations
        5. Compressing files to save space
        6. Objective summary
        7. Objective review
      3. Objective 5.3: Secure app data
        1. Introducing the Windows.Security.Cryptography namespaces
        2. Using hash algorithms
        3. Generating random numbers and data
        4. Encrypting messages with MAC algorithms
        5. Using digital signatures
        6. Enrolling and requesting certificates
        7. Protecting your data with the DataProtectionProvider class
        8. Objective summary
        9. Objective review
      4. Chapter summary
      5. Answers
        1. Objective 5.1: Thought experiment
        2. Objective 5.1: Review
        3. Objective 5.2: Thought experiment
        4. Objective 5.2: Review
        5. Objective 5.3: Thought experiment
        6. Objective 5.3: Review
    9. 6. Prepare for a solution deployment
      1. Objective 6.1: Design and implement trial functionality in an app
        1. Choosing the right business model for your app
        2. Exploring the licensing state of your app
        3. Using custom license information
        4. Purchasing an app
        5. Handling errors
        6. Setting up in-app purchases
        7. Retrieving and validating the receipts for your purchases
        8. Objective summary
        9. Objective review
      2. Objective 6.2: Design for error handling
        1. Handling exceptions in the .NET Framework
        2. Catching errors and exceptions at the application level
        3. Handling device capability errors
        4. Handling asynchronous errors
        5. Objective summary
        6. Objective review
      3. Objective 6.3: Design and implement a test strategy
        1. Understanding functional testing vs. unit testing
          1. Functional testing
            1. Integration Testing
            2. Coded UI Testing
          2. Unit testing
        2. Implementing a test project for a Windows Store app
        3. Objective summary
        4. Objective review
      4. Objective 6.4: Design a diagnostics and monitoring strategy
        1. Profiling a Windows Store app and collecting performance counters
        2. Tracing and logging events for Windows Store apps
        3. Using Windows Store reports to improve the quality of your app
        4. Objective summary
        5. Objective review
      5. Chapter summary
      6. Answers
        1. Objective 6.1: Thought experiment
        2. Objective 6.1: Review
        3. Objective 6.2: Thought experiment
        4. Objective 6.2: Review
        5. Objective 6.3: Thought experiment
        6. Objective 6.3: Review
        7. Objective 6.4: Thought experiment
        8. Objective 6.4: Review
    10. A. About the authors
    11. Index
    12. About the Authors
    13. Copyright

    Product information

    • Title: Exam Ref 70-485: Advanced Windows Store App Development Using C#
    • Author(s): Roberto Brunetti and Vanni Boncinelli
    • Release date: October 2013
    • Publisher(s): Microsoft Press
    • ISBN: 9780735677135