PrepAway - Latest Free Exam Questions & Answers

Category: Uncategorized

Which code segments should you include in Target 1, Target 2 and Target 3 to implement the ExecuteResult metho

HOTSPOT
You are developing an ASP.NET MVC web application that enables users to open Microsoft Excel
files.
The current implementation of the ExcelResult class is as follows.


You need to enable users to open Excel files.
You have the following code:

Which code segments should you include in Target 1, Target 2 and Target 3 to implement the
ExecuteResult method? To answer, select the appropriate option or options in the answer area.


Which code segments should you include in Target 1, Target 2 and Target 3 to implement the LogActionFilter cla

HOTSPOT
You are developing an ASP.NET MVC application.
Before an action is executed, information about the action must be written to a log. After results are
returned, information about the results also must be written to the log.
You need to log the actions and results.
You have the following code:

Which code segments should you include in Target 1, Target 2 and Target 3 to implement the
LogActionFilter class? (To answer, select the appropriate option from the drop‐down list in the
answer area.)



Which markup segments should you include in Target 1, Target 2 and Target 3 to complete the markup?

DRAG DROP
You are developing an ASP.NET MVC application in Visual Studio.
The application contains an area that is defined as shown in the following graphic.

The ActionLink method must invoke the GetOrders() action in ExternalOrderController.
You need to configure the parameters of the ActionLink method.
You have the following markup.

Which markup segments should you include in Target 1, Target 2 and Target 3 to complete the
markup? To answer, drag the appropriate markup segment 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.

Which markup segments should you include in Target 1, Target 2 and Target 3 to complete markup?

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.


How should you complete the relevant code?

HOTSPOT
You develop an ASP.NET MVC application. The application includes a feature that allows users to
reset their passwords. The feature is enabled by a ForgotPassword controller method and a
corresponding Razor view.
You need to prevent Cross‐Site Request Forgery (CSRF) attacks.
How should you complete the relevant code? To answer, select the appropriate code segment from
each list in the answer area.





Page 195 of 197« First...102030...193194195196197