70-492-Part1.pdf - Section 1 Sec One(1 to 29 Details Topic 1 Mixed Questions Set 1 QUESTION 1 You are developing an ASP.NET MVC application in Visual

70-492-Part1.pdf - Section 1 Sec One(1 to 29 Details Topic...

This preview shows page 1 - 8 out of 79 pages.

Section 1: Sec One (1 to 29) Details: Topic 1, Mixed Questions Set 1 QUESTION: You are developing an ASP.NET MVC application in Visual Studio 2012. The application supports multiple cultures. The application contains three resource files in the Resources directory: MyDictionary.resx MyDictionary.es.resx MyDictionary.fr.resx Each file contains a public resource named Title with localized translation. The application is configured to set the culture based on the client browser settings. The application contains a controller with the action defined in the following code segment. (Line numbers are included for reference only.) You need to set ViewBag.Title to the localized title contained in the resource files. Which code segment should you add to the action at line 03? 1 A. Option A B. Option B C. Option C D. Option D Answer: B
Image of page 1
QUESTION: DRAG DROP You are developing an ASP.NET MVC application that takes customer orders. Orders are restricted to customers with IP addresses based in the United States. You need to implement a custom route handler. How should you implement the route handler? (To answer, drag the appropriate line of code to the correct location or locations. Each line of 2 Answer: QUESTION: You are developing an ASP.NET MVC application that uses forms authentication. The user database contains a user named OrderAdmin. You have the following requirements: You must allow all users to access the GetOrders method. You must restrict access to the EditOrder method to the user named OrderAdmin. You need to implement the controller to meet the requirements. Which code segment should you use? (Each correct answer presents solution. Choose all that apply.) 3 a complete
Image of page 2
Image of page 3
Image of page 4