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