PrepAway - Latest Free Exam Questions & Answers

Category: 70-485 (v.2)

Exam 70-485: Advanced Windows Store App Development Using C# (update June 2nd, 2016)

How should you configure the app?

###BeginCaseStudy###
Case Study: 1
Scenario Margie’s Travel
Background
You are developing a Windows Store media sharing app for the sales and marketing team at
Margie’s Travel. The app will allow team members to download documents and media about
current and proposed products and services from the company’s cloud-based media manager
service. Team members will be able to add new content to the cloud service and to print and
share content.
Business Requirements
Behavior:
• Team members must be able to download product information data sheets,
marketing materials, and product demonstration video clips from the
company’s server.
• Team members must be able to select and upload multiple files that contain
new and modified content as a batch.
• Team members must be able to stream video clips to other devices in the
vicinity of the team member’s device. The app will not support the streaming
of photographs.
• The app must allow team members to pause, restart, or cancel uploads and
downloads of files. The app must report both the progress and completion
status of these operations. It must also return results about upload and
download operations.
User Interface:
• The app must include a photo viewer. When photos are added or deleted in the
photo viewer window, they must animate in and out of the field of view.
Remaining photos must move to fill the empty space created when photos are
deleted. The photo viewer must support semantic zoom.
• The app must display information on the lock screen of the device. The
information must include text-based alerts and a value indicating the number
of pending file downloads.
Technical Requirements
Behavior:
• The company has an existing component named VideoProcessor. This
component compresses video clips and performs other processing before the
video clips are uploaded to the media manager service. The component was
written with managed code. The VideoProcessor component will also be used
by Windows Store apps developed in HTML5 and JavaScript. The apps must
be able to call the overload of the ProcessVideo() method that accepts a string
and a Boolean value as parameters.
• When a team member selects a video clip to download, the app must
download the file as a background task. After a download has started, the app
should maintain the network connection to the server even when the app is
suspended.
User Interface:

• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
User Interface:
• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
• The app must use a Grid control as the root layout control. The photo viewer
must be placed in the second row of the grid.
• The appearance of the app must change when the app is in snapped mode. The
first row of the root layout grid must not change height. The second row must
fill all available space.
• Available video clips must be displayed in an extended ListView control class
named Downloaded VideoList.
• The template for the DownloadedVideoList is already defined.
• New video clips should be added to DownloadedVideoList when the
DownloadVideoQ method completes.
• New video clip items in the DownloadedVideoList should color change
periodically to alert the team member.
Application Structure
Relevant portions of the app files are as follows. (Line numbers in the code segments are
included for reference only and include a two-character prefix that denotes the specific file to
which they belong.)

###EndCaseStudy###

HOTSPOT
You need to meet the business requirements about downloading and uploading.
How should you configure the app? (To answer, select the appropriate options from each drop-down
list in the answer area.)

Which code segment should you use in the MainPage.xaml file?

###BeginCaseStudy###
Case Study: 1
Scenario Margie’s Travel
Background
You are developing a Windows Store media sharing app for the sales and marketing team at
Margie’s Travel. The app will allow team members to download documents and media about
current and proposed products and services from the company’s cloud-based media manager
service. Team members will be able to add new content to the cloud service and to print and
share content.
Business Requirements
Behavior:
• Team members must be able to download product information data sheets,
marketing materials, and product demonstration video clips from the
company’s server.
• Team members must be able to select and upload multiple files that contain
new and modified content as a batch.
• Team members must be able to stream video clips to other devices in the
vicinity of the team member’s device. The app will not support the streaming
of photographs.
• The app must allow team members to pause, restart, or cancel uploads and
downloads of files. The app must report both the progress and completion
status of these operations. It must also return results about upload and
download operations.
User Interface:
• The app must include a photo viewer. When photos are added or deleted in the
photo viewer window, they must animate in and out of the field of view.
Remaining photos must move to fill the empty space created when photos are
deleted. The photo viewer must support semantic zoom.
• The app must display information on the lock screen of the device. The
information must include text-based alerts and a value indicating the number
of pending file downloads.
Technical Requirements
Behavior:
• The company has an existing component named VideoProcessor. This
component compresses video clips and performs other processing before the
video clips are uploaded to the media manager service. The component was
written with managed code. The VideoProcessor component will also be used
by Windows Store apps developed in HTML5 and JavaScript. The apps must
be able to call the overload of the ProcessVideo() method that accepts a string
and a Boolean value as parameters.
• When a team member selects a video clip to download, the app must
download the file as a background task. After a download has started, the app
should maintain the network connection to the server even when the app is
suspended.
User Interface:

• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
User Interface:
• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
• The app must use a Grid control as the root layout control. The photo viewer
must be placed in the second row of the grid.
• The appearance of the app must change when the app is in snapped mode. The
first row of the root layout grid must not change height. The second row must
fill all available space.
• Available video clips must be displayed in an extended ListView control class
named Downloaded VideoList.
• The template for the DownloadedVideoList is already defined.
• New video clips should be added to DownloadedVideoList when the
DownloadVideoQ method completes.
• New video clip items in the DownloadedVideoList should color change
periodically to alert the team member.
Application Structure
Relevant portions of the app files are as follows. (Line numbers in the code segments are
included for reference only and include a two-character prefix that denotes the specific file to
which they belong.)

###EndCaseStudy###

You need to implement the business requirement to display video clips.
Which code segment should you use in the MainPage.xaml file?

Which code segment should you add to App.xaml.cs?

###BeginCaseStudy###
Case Study: 1
Scenario Margie’s Travel
Background
You are developing a Windows Store media sharing app for the sales and marketing team at
Margie’s Travel. The app will allow team members to download documents and media about
current and proposed products and services from the company’s cloud-based media manager
service. Team members will be able to add new content to the cloud service and to print and
share content.
Business Requirements
Behavior:
• Team members must be able to download product information data sheets,
marketing materials, and product demonstration video clips from the
company’s server.
• Team members must be able to select and upload multiple files that contain
new and modified content as a batch.
• Team members must be able to stream video clips to other devices in the
vicinity of the team member’s device. The app will not support the streaming
of photographs.
• The app must allow team members to pause, restart, or cancel uploads and
downloads of files. The app must report both the progress and completion
status of these operations. It must also return results about upload and
download operations.
User Interface:
• The app must include a photo viewer. When photos are added or deleted in the
photo viewer window, they must animate in and out of the field of view.
Remaining photos must move to fill the empty space created when photos are
deleted. The photo viewer must support semantic zoom.
• The app must display information on the lock screen of the device. The
information must include text-based alerts and a value indicating the number
of pending file downloads.
Technical Requirements
Behavior:
• The company has an existing component named VideoProcessor. This
component compresses video clips and performs other processing before the
video clips are uploaded to the media manager service. The component was
written with managed code. The VideoProcessor component will also be used
by Windows Store apps developed in HTML5 and JavaScript. The apps must
be able to call the overload of the ProcessVideo() method that accepts a string
and a Boolean value as parameters.
• When a team member selects a video clip to download, the app must
download the file as a background task. After a download has started, the app
should maintain the network connection to the server even when the app is
suspended.
User Interface:

• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
User Interface:
• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
• The app must use a Grid control as the root layout control. The photo viewer
must be placed in the second row of the grid.
• The appearance of the app must change when the app is in snapped mode. The
first row of the root layout grid must not change height. The second row must
fill all available space.
• Available video clips must be displayed in an extended ListView control class
named Downloaded VideoList.
• The template for the DownloadedVideoList is already defined.
• New video clips should be added to DownloadedVideoList when the
DownloadVideoQ method completes.
• New video clip items in the DownloadedVideoList should color change
periodically to alert the team member.
Application Structure
Relevant portions of the app files are as follows. (Line numbers in the code segments are
included for reference only and include a two-character prefix that denotes the specific file to
which they belong.)

###EndCaseStudy###

You need to implement downloading of media files and other content.
Which code segment should you add to App.xaml.cs?

You need to ensure that the app uploads media and files to the media manager service

###BeginCaseStudy###
Case Study: 1
Scenario Margie’s Travel
Background
You are developing a Windows Store media sharing app for the sales and marketing team at
Margie’s Travel. The app will allow team members to download documents and media about
current and proposed products and services from the company’s cloud-based media manager
service. Team members will be able to add new content to the cloud service and to print and
share content.
Business Requirements
Behavior:
• Team members must be able to download product information data sheets,
marketing materials, and product demonstration video clips from the
company’s server.
• Team members must be able to select and upload multiple files that contain
new and modified content as a batch.
• Team members must be able to stream video clips to other devices in the
vicinity of the team member’s device. The app will not support the streaming
of photographs.
• The app must allow team members to pause, restart, or cancel uploads and
downloads of files. The app must report both the progress and completion
status of these operations. It must also return results about upload and
download operations.
User Interface:
• The app must include a photo viewer. When photos are added or deleted in the
photo viewer window, they must animate in and out of the field of view.
Remaining photos must move to fill the empty space created when photos are
deleted. The photo viewer must support semantic zoom.
• The app must display information on the lock screen of the device. The
information must include text-based alerts and a value indicating the number
of pending file downloads.
Technical Requirements
Behavior:
• The company has an existing component named VideoProcessor. This
component compresses video clips and performs other processing before the
video clips are uploaded to the media manager service. The component was
written with managed code. The VideoProcessor component will also be used
by Windows Store apps developed in HTML5 and JavaScript. The apps must
be able to call the overload of the ProcessVideo() method that accepts a string
and a Boolean value as parameters.
• When a team member selects a video clip to download, the app must
download the file as a background task. After a download has started, the app
should maintain the network connection to the server even when the app is
suspended.
User Interface:

• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
User Interface:
• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
• The app must use a Grid control as the root layout control. The photo viewer
must be placed in the second row of the grid.
• The appearance of the app must change when the app is in snapped mode. The
first row of the root layout grid must not change height. The second row must
fill all available space.
• Available video clips must be displayed in an extended ListView control class
named Downloaded VideoList.
• The template for the DownloadedVideoList is already defined.
• New video clips should be added to DownloadedVideoList when the
DownloadVideoQ method completes.
• New video clip items in the DownloadedVideoList should color change
periodically to alert the team member.
Application Structure
Relevant portions of the app files are as follows. (Line numbers in the code segments are
included for reference only and include a two-character prefix that denotes the specific file to
which they belong.)

###EndCaseStudy###

You need to ensure that the app uploads media and files to the media manager service.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

How should you complete the code segment?

###BeginCaseStudy###
Case Study: 1
Scenario Margie’s Travel
Background
You are developing a Windows Store media sharing app for the sales and marketing team at
Margie’s Travel. The app will allow team members to download documents and media about
current and proposed products and services from the company’s cloud-based media manager
service. Team members will be able to add new content to the cloud service and to print and
share content.
Business Requirements
Behavior:
• Team members must be able to download product information data sheets,
marketing materials, and product demonstration video clips from the
company’s server.
• Team members must be able to select and upload multiple files that contain
new and modified content as a batch.
• Team members must be able to stream video clips to other devices in the
vicinity of the team member’s device. The app will not support the streaming
of photographs.
• The app must allow team members to pause, restart, or cancel uploads and
downloads of files. The app must report both the progress and completion
status of these operations. It must also return results about upload and
download operations.
User Interface:
• The app must include a photo viewer. When photos are added or deleted in the
photo viewer window, they must animate in and out of the field of view.
Remaining photos must move to fill the empty space created when photos are
deleted. The photo viewer must support semantic zoom.
• The app must display information on the lock screen of the device. The
information must include text-based alerts and a value indicating the number
of pending file downloads.
Technical Requirements
Behavior:
• The company has an existing component named VideoProcessor. This
component compresses video clips and performs other processing before the
video clips are uploaded to the media manager service. The component was
written with managed code. The VideoProcessor component will also be used
by Windows Store apps developed in HTML5 and JavaScript. The apps must
be able to call the overload of the ProcessVideo() method that accepts a string
and a Boolean value as parameters.
• When a team member selects a video clip to download, the app must
download the file as a background task. After a download has started, the app
should maintain the network connection to the server even when the app is
suspended.
User Interface:

• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
User Interface:
• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
• The app must use a Grid control as the root layout control. The photo viewer
must be placed in the second row of the grid.
• The appearance of the app must change when the app is in snapped mode. The
first row of the root layout grid must not change height. The second row must
fill all available space.
• Available video clips must be displayed in an extended ListView control class
named Downloaded VideoList.
• The template for the DownloadedVideoList is already defined.
• New video clips should be added to DownloadedVideoList when the
DownloadVideoQ method completes.
• New video clip items in the DownloadedVideoList should color change
periodically to alert the team member.
Application Structure
Relevant portions of the app files are as follows. (Line numbers in the code segments are
included for reference only and include a two-character prefix that denotes the specific file to
which they belong.)

###EndCaseStudy###

DRAG DROP
You need to implement the photo viewer page to meet the business requirements.
How should you complete the code segment? (To answer, drag the appropriate [source or sources]
to the correct location or locations in the answer area.)

Which code segment should you use?

###BeginCaseStudy###
Case Study: 1
Scenario Margie’s Travel
Background
You are developing a Windows Store media sharing app for the sales and marketing team at
Margie’s Travel. The app will allow team members to download documents and media about
current and proposed products and services from the company’s cloud-based media manager
service. Team members will be able to add new content to the cloud service and to print and
share content.
Business Requirements
Behavior:
• Team members must be able to download product information data sheets,
marketing materials, and product demonstration video clips from the
company’s server.
• Team members must be able to select and upload multiple files that contain
new and modified content as a batch.
• Team members must be able to stream video clips to other devices in the
vicinity of the team member’s device. The app will not support the streaming
of photographs.
• The app must allow team members to pause, restart, or cancel uploads and
downloads of files. The app must report both the progress and completion
status of these operations. It must also return results about upload and
download operations.
User Interface:
• The app must include a photo viewer. When photos are added or deleted in the
photo viewer window, they must animate in and out of the field of view.
Remaining photos must move to fill the empty space created when photos are
deleted. The photo viewer must support semantic zoom.
• The app must display information on the lock screen of the device. The
information must include text-based alerts and a value indicating the number
of pending file downloads.
Technical Requirements
Behavior:
• The company has an existing component named VideoProcessor. This
component compresses video clips and performs other processing before the
video clips are uploaded to the media manager service. The component was
written with managed code. The VideoProcessor component will also be used
by Windows Store apps developed in HTML5 and JavaScript. The apps must
be able to call the overload of the ProcessVideo() method that accepts a string
and a Boolean value as parameters.
• When a team member selects a video clip to download, the app must
download the file as a background task. After a download has started, the app
should maintain the network connection to the server even when the app is
suspended.
User Interface:

• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
User Interface:
• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
• The app must use a Grid control as the root layout control. The photo viewer
must be placed in the second row of the grid.
• The appearance of the app must change when the app is in snapped mode. The
first row of the root layout grid must not change height. The second row must
fill all available space.
• Available video clips must be displayed in an extended ListView control class
named Downloaded VideoList.
• The template for the DownloadedVideoList is already defined.
• New video clips should be added to DownloadedVideoList when the
DownloadVideoQ method completes.
• New video clip items in the DownloadedVideoList should color change
periodically to alert the team member.
Application Structure
Relevant portions of the app files are as follows. (Line numbers in the code segments are
included for reference only and include a two-character prefix that denotes the specific file to
which they belong.)

###EndCaseStudy###

You need to implement a custom control to display thumbnail images of video clips.
Which code segment should you use?

Which task type property should you specify?

###BeginCaseStudy###
Case Study: 1
Scenario Margie’s Travel
Background
You are developing a Windows Store media sharing app for the sales and marketing team at
Margie’s Travel. The app will allow team members to download documents and media about
current and proposed products and services from the company’s cloud-based media manager
service. Team members will be able to add new content to the cloud service and to print and
share content.
Business Requirements
Behavior:
• Team members must be able to download product information data sheets,
marketing materials, and product demonstration video clips from the
company’s server.
• Team members must be able to select and upload multiple files that contain
new and modified content as a batch.
• Team members must be able to stream video clips to other devices in the
vicinity of the team member’s device. The app will not support the streaming
of photographs.
• The app must allow team members to pause, restart, or cancel uploads and
downloads of files. The app must report both the progress and completion
status of these operations. It must also return results about upload and
download operations.
User Interface:
• The app must include a photo viewer. When photos are added or deleted in the
photo viewer window, they must animate in and out of the field of view.
Remaining photos must move to fill the empty space created when photos are
deleted. The photo viewer must support semantic zoom.
• The app must display information on the lock screen of the device. The
information must include text-based alerts and a value indicating the number
of pending file downloads.
Technical Requirements
Behavior:
• The company has an existing component named VideoProcessor. This
component compresses video clips and performs other processing before the
video clips are uploaded to the media manager service. The component was
written with managed code. The VideoProcessor component will also be used
by Windows Store apps developed in HTML5 and JavaScript. The apps must
be able to call the overload of the ProcessVideo() method that accepts a string
and a Boolean value as parameters.
• When a team member selects a video clip to download, the app must
download the file as a background task. After a download has started, the app
should maintain the network connection to the server even when the app is
suspended.
User Interface:

• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
User Interface:
• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
• The app must use a Grid control as the root layout control. The photo viewer
must be placed in the second row of the grid.
• The appearance of the app must change when the app is in snapped mode. The
first row of the root layout grid must not change height. The second row must
fill all available space.
• Available video clips must be displayed in an extended ListView control class
named Downloaded VideoList.
• The template for the DownloadedVideoList is already defined.
• New video clips should be added to DownloadedVideoList when the
DownloadVideoQ method completes.
• New video clip items in the DownloadedVideoList should color change
periodically to alert the team member.
Application Structure
Relevant portions of the app files are as follows. (Line numbers in the code segments are
included for reference only and include a two-character prefix that denotes the specific file to
which they belong.)

###EndCaseStudy###

HOTSPOT
You need to configure the app manifest to support the file download requirements.
Which task type property should you specify? (To answer, select the appropriate property in the
answer area.)

You need to implement the requirements for the playback of media

###BeginCaseStudy###
Case Study: 1
Scenario Margie’s Travel
Background
You are developing a Windows Store media sharing app for the sales and marketing team at
Margie’s Travel. The app will allow team members to download documents and media about
current and proposed products and services from the company’s cloud-based media manager
service. Team members will be able to add new content to the cloud service and to print and
share content.
Business Requirements
Behavior:
• Team members must be able to download product information data sheets,
marketing materials, and product demonstration video clips from the
company’s server.
• Team members must be able to select and upload multiple files that contain
new and modified content as a batch.
• Team members must be able to stream video clips to other devices in the
vicinity of the team member’s device. The app will not support the streaming
of photographs.
• The app must allow team members to pause, restart, or cancel uploads and
downloads of files. The app must report both the progress and completion
status of these operations. It must also return results about upload and
download operations.
User Interface:
• The app must include a photo viewer. When photos are added or deleted in the
photo viewer window, they must animate in and out of the field of view.
Remaining photos must move to fill the empty space created when photos are
deleted. The photo viewer must support semantic zoom.
• The app must display information on the lock screen of the device. The
information must include text-based alerts and a value indicating the number
of pending file downloads.
Technical Requirements
Behavior:
• The company has an existing component named VideoProcessor. This
component compresses video clips and performs other processing before the
video clips are uploaded to the media manager service. The component was
written with managed code. The VideoProcessor component will also be used
by Windows Store apps developed in HTML5 and JavaScript. The apps must
be able to call the overload of the ProcessVideo() method that accepts a string
and a Boolean value as parameters.
• When a team member selects a video clip to download, the app must
download the file as a background task. After a download has started, the app
should maintain the network connection to the server even when the app is
suspended.
User Interface:

• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
User Interface:
• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
• The app must use a Grid control as the root layout control. The photo viewer
must be placed in the second row of the grid.
• The appearance of the app must change when the app is in snapped mode. The
first row of the root layout grid must not change height. The second row must
fill all available space.
• Available video clips must be displayed in an extended ListView control class
named Downloaded VideoList.
• The template for the DownloadedVideoList is already defined.
• New video clips should be added to DownloadedVideoList when the
DownloadVideoQ method completes.
• New video clip items in the DownloadedVideoList should color change
periodically to alert the team member.
Application Structure
Relevant portions of the app files are as follows. (Line numbers in the code segments are
included for reference only and include a two-character prefix that denotes the specific file to
which they belong.)

###EndCaseStudy###

You need to implement the requirements for the playback of media.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

Which code segment should you insert at line MP07?

###BeginCaseStudy###
Case Study: 1
Scenario Margie’s Travel
Background
You are developing a Windows Store media sharing app for the sales and marketing team at
Margie’s Travel. The app will allow team members to download documents and media about
current and proposed products and services from the company’s cloud-based media manager
service. Team members will be able to add new content to the cloud service and to print and
share content.
Business Requirements
Behavior:
• Team members must be able to download product information data sheets,
marketing materials, and product demonstration video clips from the
company’s server.
• Team members must be able to select and upload multiple files that contain
new and modified content as a batch.
• Team members must be able to stream video clips to other devices in the
vicinity of the team member’s device. The app will not support the streaming
of photographs.
• The app must allow team members to pause, restart, or cancel uploads and
downloads of files. The app must report both the progress and completion
status of these operations. It must also return results about upload and
download operations.
User Interface:
• The app must include a photo viewer. When photos are added or deleted in the
photo viewer window, they must animate in and out of the field of view.
Remaining photos must move to fill the empty space created when photos are
deleted. The photo viewer must support semantic zoom.
• The app must display information on the lock screen of the device. The
information must include text-based alerts and a value indicating the number
of pending file downloads.
Technical Requirements
Behavior:
• The company has an existing component named VideoProcessor. This
component compresses video clips and performs other processing before the
video clips are uploaded to the media manager service. The component was
written with managed code. The VideoProcessor component will also be used
by Windows Store apps developed in HTML5 and JavaScript. The apps must
be able to call the overload of the ProcessVideo() method that accepts a string
and a Boolean value as parameters.
• When a team member selects a video clip to download, the app must
download the file as a background task. After a download has started, the app
should maintain the network connection to the server even when the app is
suspended.
User Interface:

• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
User Interface:
• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
• The app must use a Grid control as the root layout control. The photo viewer
must be placed in the second row of the grid.
• The appearance of the app must change when the app is in snapped mode. The
first row of the root layout grid must not change height. The second row must
fill all available space.
• Available video clips must be displayed in an extended ListView control class
named Downloaded VideoList.
• The template for the DownloadedVideoList is already defined.
• New video clips should be added to DownloadedVideoList when the
DownloadVideoQ method completes.
• New video clip items in the DownloadedVideoList should color change
periodically to alert the team member.
Application Structure
Relevant portions of the app files are as follows. (Line numbers in the code segments are
included for reference only and include a two-character prefix that denotes the specific file to
which they belong.)

###EndCaseStudy###

You need to implement the requirements for the behavior of the main page. Which code segment
should you insert at line MP07?

How should you configure the app?

###BeginCaseStudy###
Case Study: 1
Scenario Margie’s Travel
Background
You are developing a Windows Store media sharing app for the sales and marketing team at
Margie’s Travel. The app will allow team members to download documents and media about
current and proposed products and services from the company’s cloud-based media manager
service. Team members will be able to add new content to the cloud service and to print and
share content.
Business Requirements
Behavior:
• Team members must be able to download product information data sheets,
marketing materials, and product demonstration video clips from the
company’s server.
• Team members must be able to select and upload multiple files that contain
new and modified content as a batch.
• Team members must be able to stream video clips to other devices in the
vicinity of the team member’s device. The app will not support the streaming
of photographs.
• The app must allow team members to pause, restart, or cancel uploads and
downloads of files. The app must report both the progress and completion
status of these operations. It must also return results about upload and
download operations.
User Interface:
• The app must include a photo viewer. When photos are added or deleted in the
photo viewer window, they must animate in and out of the field of view.
Remaining photos must move to fill the empty space created when photos are
deleted. The photo viewer must support semantic zoom.
• The app must display information on the lock screen of the device. The
information must include text-based alerts and a value indicating the number
of pending file downloads.
Technical Requirements
Behavior:
• The company has an existing component named VideoProcessor. This
component compresses video clips and performs other processing before the
video clips are uploaded to the media manager service. The component was
written with managed code. The VideoProcessor component will also be used
by Windows Store apps developed in HTML5 and JavaScript. The apps must
be able to call the overload of the ProcessVideo() method that accepts a string
and a Boolean value as parameters.
• When a team member selects a video clip to download, the app must
download the file as a background task. After a download has started, the app
should maintain the network connection to the server even when the app is
suspended.
User Interface:

• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
User Interface:
• The app must include a custom photo viewer control. The control will be
updated frequently and may be deployed separately from the rest of the app.
The photo viewer control must support templates and styles.
• The app must use a Grid control as the root layout control. The photo viewer
must be placed in the second row of the grid.
• The appearance of the app must change when the app is in snapped mode. The
first row of the root layout grid must not change height. The second row must
fill all available space.
• Available video clips must be displayed in an extended ListView control class
named Downloaded VideoList.
• The template for the DownloadedVideoList is already defined.
• New video clips should be added to DownloadedVideoList when the
DownloadVideoQ method completes.
• New video clip items in the DownloadedVideoList should color change
periodically to alert the team member.
Application Structure
Relevant portions of the app files are as follows. (Line numbers in the code segments are
included for reference only and include a two-character prefix that denotes the specific file to
which they belong.)

###EndCaseStudy###

HOTSPOT
You need to meet the business requirements about downloading and uploading.
How should you configure the app? (To answer, select the appropriate options from each drop-down
list in the answer area.)


Page 1 of 1712345...10...Last »