1.
If the canvas element is supported by the client browser, the application must display "London 2012" in the footer as text formatted by JavaScript at the end of the _Layout.cshtml file. You need to modify the layout to ensure that "London 2012" is displayed as either formatted text or as plain text, depending on what the client browser supports. Which code segment should you add?
2.
You need to add an action to RunLogController to validate the users' passwords. Which code segment should you use?
3.
You need to make all of the rows in the table bold in the Views/RunLog/GetLog.cshtml view. Which code segment should you use?
4.
You need to display the "miles" unit description after the distance in the GetLog view. Which line of code should you use to replace line GL21? (Each correct answer presents a complete solution. Choose all that apply.)
5.
An advertising campaign was recently launched. Some of the ads contain a link to products that no longer exist or have IDs that have changed. You need to ensure that all product links display a product. Which code segment should you use to configure the route?
6.
You need to modify the application to meet the product Id requirement. What should you do?
7.
You need to implement the business requirements for managing customer data. What should you do? Each correct answer presents part of the solution. Choose all that apply.
8.
When users attempt to retrieve a product from the product page, a run-time exception occurs if the product does not exist. You need to route the exception to the CustomException.aspx page. Which method should you add to MvcApplication?
9.
You updated the web.config file with the HTTP run-time value required to display an alternative version of the site. You need to ensure that the correct page displays to the users. Which code segment should you use to update the controller?
10.
You need to implement client-side animations according to the business requirements. Which line of code should you use? (Each correct answer presents a complete solution. Choose all that apply.)