Question 16
HOTSPOT
You are developing an ASP.NET MVC application in Visual Studio 2012. The application
supports multiple cultures.
To set the culture, the application must use the AcceptLanguagc 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 the markup? (To answer, select the appropriate options in the answer area.)
Question 17
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some questions sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You are developing an ASP.NET Core MVC web application. The landing page of the application contains over
100 small JPEG images, including many images that have embedded text.
Mobile device users report performance issues when loading the page. You debug the application and determine that the number of HTTP requests is causing the issue.
You need to improve the performance of the landing page.
Solution: Convert the images to SVG.
Does the solution meet the goal?
Question 18
You need to make the "Distance" header of the table bold in the Views/RunLog/GetLog.cshtml view.
Which code segment should you use?
Question 19
DRAG DROP
You need to ensure that only valid parameters are passed to the EditLog action.
How should you build the route? (To answer, drag the appropriate code segments to the correct location or locations. Each code 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.)
Question 20
DRAG DROP
You are developing an ASP.NET MVC web application in Visual Studio 2012.
The application has a model named ReservationLocation that contains properties named City and State.
The view that displays reservations has a single text box named loc for entering the location information. The location is entered as city, state.
There are action methods that have ReservationLocation as a parameter type.
You need to ensure that the City and State properties are correctly populated.
How should you implement model binding for the ReservationLocation type? (To answer, drag the appropriate code segment to the correct location or locations. Each code 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.)










