What should you include in the recommendation?

###BeginCaseStudy###
Case Study: 4
Fabrikam, Inc
Overview
Fabrikam, Inc. is a realtor in the United States.
Fabrikam grants its customers access to a web site, where they can search for houses for rent
and for sale. Its customers can enter basic requirements, such as location, number of rooms,
dimensions, and a price range. The web site displays a list of houses that meet the customers’
criteria. The customers can then view more details about each house and can add a listing to a
favorites list.
Requirements
Business Goals
Fabrikam plans to provide a more interactive experience for its customers. Fabrikam is
creating a video tour for each listing. The video tours can be used to visit the property
virtually.
Fabrikam plans to create a Windows Store app on Windows 8.1 RT and Windows 8.1 Pro
devices.
General Requirements
Fabrikam identifies the following general requirements for the app:
• The app interface must be available in English, Spanish, and French.

• The app must provide the customers with the ability to perform searches the
same way that the current web site does.
• It is expected that the customers will view more than 3,000 pictures annually.
The main page of the app must show a list of the last 10 pictures that were
viewed.
• If pictures are added to a listing that is in a customer’s favorites list, the
pictures must be downloaded automatically from Windows Azure. This must
occur if the app is suspended or not running.
Printing Requirements
Customers must be able to print the details of a listing from the details page by clicking a
button within the app.
You plan to add the following XAML markup to the listing details page:
<Button x:Name=”btnPrint Content=”Print” Click=”InvoicePrint” />.
Video Tour Requirements
Fabrikam identifies the following requirements for the video tours:
• Customers must be able to play the video tour on a different device by using a
button within the app.
• When a customer clicks the details of a listing, the app must start downloading
the video tour in the background.
• When the app starts, the app must verify whether there are any pending
downloads, and resume any paused downloads.
• The last five viewed video tours that are not on the customer’s favorites list
must be cached for subsequent viewing.
• Customers must be able to download all of the video tours for the properties
that they added to their favorites list.
• The property details page must contain a MediaElement control that will be
used to play the video tour of the property.
• When downloading the video tours, the app must remain responsive, and each
download must be processed on a separate thread.
Package.appxmanifest

###EndCaseStudy###

You need to recommend a solution to comply with the language requirements of the app.
What should you include in the recommendation? (Each correct answer presents part of the
solution. Choose three.)

###BeginCaseStudy###
Case Study: 4
Fabrikam, Inc
Overview
Fabrikam, Inc. is a realtor in the United States.
Fabrikam grants its customers access to a web site, where they can search for houses for rent
and for sale. Its customers can enter basic requirements, such as location, number of rooms,
dimensions, and a price range. The web site displays a list of houses that meet the customers’
criteria. The customers can then view more details about each house and can add a listing to a
favorites list.
Requirements
Business Goals
Fabrikam plans to provide a more interactive experience for its customers. Fabrikam is
creating a video tour for each listing. The video tours can be used to visit the property
virtually.
Fabrikam plans to create a Windows Store app on Windows 8.1 RT and Windows 8.1 Pro
devices.
General Requirements
Fabrikam identifies the following general requirements for the app:
• The app interface must be available in English, Spanish, and French.

• The app must provide the customers with the ability to perform searches the
same way that the current web site does.
• It is expected that the customers will view more than 3,000 pictures annually.
The main page of the app must show a list of the last 10 pictures that were
viewed.
• If pictures are added to a listing that is in a customer’s favorites list, the
pictures must be downloaded automatically from Windows Azure. This must
occur if the app is suspended or not running.
Printing Requirements
Customers must be able to print the details of a listing from the details page by clicking a
button within the app.
You plan to add the following XAML markup to the listing details page:
<Button x:Name=”btnPrint Content=”Print” Click=”InvoicePrint” />.
Video Tour Requirements
Fabrikam identifies the following requirements for the video tours:
• Customers must be able to play the video tour on a different device by using a
button within the app.
• When a customer clicks the details of a listing, the app must start downloading
the video tour in the background.
• When the app starts, the app must verify whether there are any pending
downloads, and resume any paused downloads.
• The last five viewed video tours that are not on the customer’s favorites list
must be cached for subsequent viewing.
• Customers must be able to download all of the video tours for the properties
that they added to their favorites list.
• The property details page must contain a MediaElement control that will be
used to play the video tour of the property.
• When downloading the video tours, the app must remain responsive, and each
download must be processed on a separate thread.
Package.appxmanifest

###EndCaseStudy###

You need to recommend a solution to comply with the language requirements of the app.
What should you include in the recommendation? (Each correct answer presents part of the
solution. Choose three.)

A.
Use the ResourceLoader class to retrieve localized strings from the code.

B.
In a subfolder of the app, create three .config files.

C.
Use the ResourceManager class to retrieve localized strings from the code.

D.
Use the x:Uid property for all of the controls that require localization.

E.
Use the x:id property for all of the controls that require localization.

F.
In a subfolder of the app, create three .resw files.

Explanation:
From scenario: The app interface must be available in English, Spanish, and French.
A (not C): You can load string resources from objects such as resource files, libraries, controls, and
Windows Store app packages and manifests.
* Example: var res = Windows.ApplicationModel.ResourceLoader(‘Errors’);
res.GetString(‘AlreadyRegistered’);
D (not E): x:Uid directive
Provides a unique identifier for markup elements. For Windows Runtime XAML, this unique
identifier is used by XAML localization processes and tools, such as using resources from a .resw
resource file.
F (not B): Windows Store apps that use XAML
For Windows Store apps that use XAML, you localize these fields in resources.resw files by using the
Resource Editor. To create the United States English version of the manifest fields, you would add an
en-us\resources.resw file.
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh965326.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *