READ Free Dumps For Microsoft- 70-486
Question ID 14700 | You are developing an ASP.NET MVC web application for viewing a photo album. The
application is designed for devices that support changes in orientation, such as tablets and
smartphones. The application displays a grid of photos in portrait mode.
When the orientation changes to landscape, each tile in the grid expands to include a
description. The HTML that creates the gallery interface resembles the following markup.
If this CSS is omitted, the existing CSS displays the tiles in landscape mode.
You need to update the portrait mode CSS to apply only to screens with a width less than
500 pixels.
Which code segment should you use?
|
Option A | @media resolution(max-width: 500px) { . . . }
|
Option B | @media screen(min-width: Opx, max-width: 500px) { . . . }
|
Option C | @media screen and (width <= 500px) { . . . }
|
Option D | @media screen and (max-width: 500px) { . . . }
|
Correct Answer | D |
Explanation
Question ID 14701 | You are designing a localized ASP.NET MVC online shopping application that will be
deployed to customers in the United States, China, France, and Brazil. The application
must support multiple cultures so that content in the appropriate language is available in
each area.
You need to ensure that the content can be viewed in several languages.
How should you implement this feature?
|
Option A | Use a resource (.resx) file to provide translations.
|
Option B | Use Systems.Collections.Generics.Dictionary to store alternative translations.
|
Option C | Ensure that all strings are marked internal to avoid conflict with internal literals.
|
Option D | Include language-specific content in the assembly manifest and use .NET culture libraries.
|
Correct Answer | A |
Explanation Explanation: A resource file is an XML file that contains the strings that you want to translate into different languages or paths to images. The resource file contains key/value pairs. Each pair is an individual resource. Key names are not case sensitive. For example, a resource file might contain a resource with the key Button1 and the value Submit. You create a separate resource file for each language (for example, English and French) or for a language and culture (for example English [U.K.], English [U.S.]). Each localized resource file has the same key/value pairs; the only difference is that a localized resource file can contain fewer resources than the default resource file. The built-in language fallback process then handles loading the neutral or default resource. Reference: SP.NET Web Page Resources Overview