exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 1 question 52 discussion

Actual exam question from Microsoft's 70-486
Question #: 52
Topic #: 1
[All 70-486 Questions]

DRAG DROP -
You are developing an ASP.NET MVC application in Visual Studio. The application supports multiple cultures.
To set the culture, the application must use the AcceptLanguage header field value sent by the client browser.
You need to ensure that the application can set the culture.
You have the following markup in the web.config file:

Which markup segments should you include in Target 1, Target 2 and Target 3 to complete markup? To answer, drag the appropriate markup segments to the correct targets. Each markup segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Target1: globalization -
Target2: enableClientBasedCulture

Target3: uiCulture -
When the EnableClientBasedCulture property is enabled, the Culture and UICulture properties are based on the AcceptLanguage header field value that is sent by the client browser. If the AcceptLanguage header value cannot be mapped to a specific culture, the Culture and UICulture values are used. The default value is false.
The following combination of attributes is used in the globalization section: culture="auto", uiCulture="auto", enableClientBasedCulture="true", e.g.:
<globalization uiCulture="auto" culture="auto" enableClientBasedCulture="true">
Reference:
http://stackoverflow.com/questions/8878856/does-the-enableclientbasedculture-attribute-in-web-config-work-at-all

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
hungry_ape9000
5 years ago
FINAL ANSWER: globalization enableClientBasedCulture uiCulture
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...